Sensor calibration device, sensor calibration method and electronic equipment
By using the communication CAN network in the automotive electronic control system, the calibration and data storage of the Hall current sensor is completed, and the system complexity and high development costs caused by the traditional calibration CAN network have been solved, and the system simplification and cost are reduced.
Patent Information
- Application Number
- CN202411376086.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-09-30
AI Technical Summary
In automotive electronic control systems, the calibration of Hall current sensors needs to be achieved through a special calibration CAN network, resulting in complex system structure and high development costs.
The communication CAN network is used to complete the coefficient calibration and storage of the Hall current sensor. Through the collaborative work of the host computer device, product device and storage device, the CAN signal is used to transmit the trigger signal to achieve sensor calibration and data writing.
No additional calibration CAN network is required to simplify the structure of the car system, reduce development costs and cycles, and achieve effective calibration and data storage of Hall current sensors.
Smart Images

Figure CN118897240B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of automotive electronic control systems, and in particular to a sensor calibration device, a sensor calibration method, and an electronic device. Background Art
[0002] In automotive electronic control systems, since the Hall current sensor is installed in different positions on the magnetic core, the current and voltage analog values detected will be different when a constant phase current passes through it. Therefore, each product needs to calibrate and compensate its current sensor; the calibration coefficient of the Hall current sensor also needs to be written into the product program.
[0003] In automotive electronic control systems, the calibration learning of traditional current sensors is generally achieved through a calibration CAN network specifically used for vehicle system parameters, and then the learned current sensor calibration value is written into the product program through Flash or UDS protocol. The calibration CAN network requires a separate CAN chip and circuit, and after the product matures, the calibration CAN network setting will be cancelled in order to save costs. There is a need to use a general protocol to complete the learning and writing of calibration coefficients. Summary of the invention
[0004] In order to solve the above technical problems, the present application proposes a sensor calibration device, which completes the coefficient calibration and storage of the Hall current sensor based on the communication CAN network. The communication CAN network is used to realize information exchange between multiple controllers in the automotive electronic control system, without the need to use an additional calibration CAN network, making the structure of the automotive system more compact and simple, and helping to reduce development costs and cycles.
[0005] The present application provides a sensor calibration device for calibration learning of a Hall current sensor, the sensor calibration device comprising: a host computer device, a product device and a storage device; the host computer device comprises a control module and a conversion module, the product device comprises a sensor module and a writing module, the sensor module comprises a Hall current sensor; the communication module is configured to transmit a trigger signal comprising verification data, indication data and at least one information data; the control module is configured to pass a detection current into a bus positive circuit or a bus negative circuit of the Hall current sensor, and send a first trigger signal to the sensor module; the sensor module is configured to obtain at least one feedback voltage value output by the Hall current sensor when receiving the first trigger signal, and send at least one second trigger signal to the conversion module, the information data of each second trigger signal corresponding to the feedback voltage value; the conversion module is configured to obtain a current phase calibration coefficient based on at least one feedback voltage value, and send a third trigger signal to the writing module, each information data of the third trigger signal corresponds to a phase calibration coefficient respectively; the writing module is configured to write the information data of the third trigger signal into the storage device.
[0006] According to one embodiment of the present application, the product device is further configured to send a fourth trigger signal to the host device after the writing module writes the information data of the third trigger signal into the storage device, and the information data of the fourth trigger signal corresponds to the information data of the third trigger signal.
[0007] According to one embodiment of the present application, the sensor module is configured as follows: when a detection current is passed through the positive circuit of the busbar, at least one positive feedback voltage value output by the Hall current sensor is obtained, and at least one second positive trigger signal is sent to the conversion module, and the information data of the second positive trigger signal corresponds to the positive feedback voltage value; when a detection current is passed through the negative circuit of the busbar, at least one negative feedback voltage value output by the Hall current sensor is obtained, and at least one second negative trigger signal is sent to the conversion module, and the information data of the second negative trigger signal corresponds to the negative feedback voltage value.
[0008] According to one embodiment of the present application, the phase calibration coefficient satisfies:
[0009]
[0010] in, GAIN is the phase calibration coefficient, b is the value of the detection current, POS is the average value of at least one positive feedback voltage value, NEG is the average value of at least one negative feedback voltage value.
[0011] According to one embodiment of the present application, the trigger signal is a CAN signal.
[0012] According to one embodiment of the present application, the information data of the second trigger signal satisfies:
[0013]
[0014] in, Vdec is a decimal number, and the information data of the second trigger signal is Vdec The hexadecimal number, Vphy is the feedback voltage value.
[0015] According to one embodiment of the present application, the information data of the third trigger signal satisfies:
[0016]
[0017] in, GAIN is the phase calibration coefficient, Gdec is a decimal number, and the information data of the third trigger signal is Gdec The hexadecimal number.
[0018] The present application also provides a sensor calibration method for calibration learning of a Hall current sensor, comprising the following steps: providing a sensor calibration device of the above-mentioned embodiment; defining a trigger signal, the trigger signal comprising verification data, indication data and at least one information data; passing a detection current into the bus positive circuit or the bus negative circuit of the Hall current sensor, and sending a first trigger signal; based on the first trigger signal, obtaining at least one feedback voltage value output by the Hall current sensor, and sending at least one second trigger signal, the information data of each second trigger signal corresponding to the feedback voltage value; obtaining a current phase calibration coefficient based on at least one feedback voltage value, and sending a third trigger signal, each information data of the third trigger signal corresponding to a phase calibration coefficient; writing the information data of the third trigger signal into a storage device.
[0019] According to one embodiment of the present application, based on the first trigger signal, the steps of obtaining at least one feedback voltage value output by the Hall current sensor and sending at least one second trigger signal include: when a detection current is passed through the positive circuit of the busbar, at least one positive feedback voltage value output by the Hall current sensor is obtained, and at least one second positive trigger signal is sent, and the information data of the second positive trigger signal corresponds to the positive feedback voltage value; when a detection current is passed through the negative circuit of the busbar, at least one negative feedback voltage value output by the Hall current sensor is obtained, and at least one second negative trigger signal is sent, and the information data of the second negative trigger signal corresponds to the negative feedback voltage value.
[0020] The present application also provides an electronic device, comprising the sensor calibration device according to the above embodiment.
[0021] According to the sensor calibration device, sensor calibration method and electronic device provided in the embodiments of the present application, the coefficient calibration and storage of the Hall current sensor can be completed without calibrating the CAN, and the writing of the product program can be completed.
[0022] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the background technology, the drawings required for use in the embodiments of the present application or the background technology are described below. Obviously, the drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0024] Figure 1 A schematic diagram of the system structure of a sensor calibration device in an embodiment of the present application is shown;
[0025] Figure 2 A schematic diagram of the structure of the sensor module in an embodiment of the present application is shown;
[0026] Figure 3 A schematic diagram of the operation of the sensor calibration device in an embodiment of the present application is shown;
[0027] Figure 4 A schematic diagram of the operation of a calibration coefficient of a sensor calibration device provided in an embodiment of the present application is shown;
[0028] Figure 5 A schematic diagram of the operation of a calibration coefficient of a sensor calibration device provided in an embodiment of the present application is shown;
[0029] Figure 6 A schematic diagram of the steps of a sensor calibration method provided in an embodiment of the present application is shown.
[0030] List of reference numerals: 100 - host computer device, 110 - control module, 120 - conversion module, 130 - communication module, 200 - product device, 210 - sensor module, 211 - Hall current sensor, 212 - current loop, 2121 - bus positive pole, 2122 - bus negative pole, 2123 - phase line, 220 - write module, 230 - CAN chip, 400 - storage device. DETAILED DESCRIPTION
[0031] In the description of the embodiments of the present application, those skilled in the art should know that the embodiments of the present application can be implemented as methods, devices, and electronic devices. Therefore, the embodiments of the present application can be specifically implemented in the following forms: complete hardware, complete software (including firmware, resident software, microcode, etc.), and a combination of hardware and software.
[0032] In the description of the present application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the feature. In the description of the present application, "plurality" means two or more, unless otherwise clearly and specifically defined.
[0033] In the related art, the calibration and learning of the Hall current sensor is usually performed by calibrating the CAN network, which requires a separate CAN chip and circuit, making the automotive system structure complex, with higher development costs and a longer development cycle. This application uses a communication CAN network, and the coefficient calibration and storage of the Hall current sensor can be completed without calibrating the CAN.
[0034] like Figure 1As shown, the sensor calibration device includes a host device 100 , a product device 200 and a storage device 400 , wherein the host device 100 includes a control module 110 , a conversion module 120 and a communication module 130 , and the product device 200 includes a sensor module 210 and a writing module 220 .
[0035] In various embodiments of the present application, the storage device 400 may be a non-volatile memory, such as a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The storage device 400 may further include a memory remotely disposed relative to the host device 100 and the product device 200, and these remotely disposed memories may be connected to the server via a network.
[0036] The communication module 130 is used to transmit a trigger signal, which is a CAN signal, including verification data, indication data, and at least one information data. The communication module 130 can also connect various other circuits such as peripheral devices, voltage regulators, or power management circuits. In an optional embodiment, the product device 200 includes a CAN chip 230, which sends a trigger signal to the upper computer device through a communication CAN network, or receives a trigger signal from the upper computer device through a communication CAN network.
[0037] In an optional embodiment, the trigger signal includes two trigger-type CAN signals 0xFE and 0xFF as listed in Table 1, wherein the downlink trigger signal sent by the host device 100 to the product device 200 is a 0xFE signal, and the uplink trigger signal sent by the product device 200 to the host device 100 is a 0xFF signal.
[0038]
[0039] For the 0xFE signal, AA is the verification data used for communication verification. When AA=55, it indicates that the trigger signal is valid. BB, CC, DD, EE, FF and GG are information data, each of which corresponds to a phase of the measured current. HH is the indication data. When HH=01, the sensor module 210 executes the calibration coefficient. At this time, the sensor module 210 obtains the feedback voltage value of the current phase of the measured current. The default sending value of BB, CC, DD, EE, FF and GG is 55; when HH=02, the write module 220 transmits the information data to the storage device 400, and BB, CC, DD, EE, FF and GG correspond to the calibration coefficients of each phase of the measured current respectively.
[0040] For the 0xFF signal, II is the verification data used for communication verification. When II=55, it means that the trigger signal is valid. JJ, KK, LL, MM, NN and OO are information data, each of which corresponds to a phase of the measured current. PP is the indication data. When PP=01, JJ, KK, LL, MM, NN and OO correspond to the feedback voltage values of each phase of the measured current respectively. When PP=02, JJ, KK, LL, MM, NN and OO correspond to the calibration coefficients of each phase of the measured current respectively.
[0041] like Figure 2 As shown, the sensor module 210 includes a Hall current sensor 211 and a current loop 212, wherein the current loop 212 includes a bus positive electrode 2121, a bus negative electrode 2122 and a phase line 2123, wherein the bus positive electrode loop is a loop of the bus positive electrode 2121 to the phase line 2123, and the bus negative electrode loop is a loop of the bus negative electrode 2122 to the phase line 2123. MOS_Up is at least one MOS transistor arranged in the bus positive electrode loop, Gate_Up is the gate of the MOS transistor in the bus positive electrode loop, and Source_Up is the source of the MOS transistor in the bus positive electrode loop; MOS_dn is at least one MOS transistor arranged in the bus negative electrode loop, Gate_dp is the gate of the MOS transistor in the bus negative electrode loop, and Source_dp is the source of the MOS transistor in the bus negative electrode loop. When the coefficient calibration is performed, the upper computer device 100 respectively passes the detection current into the bus positive electrode loop and the bus negative electrode loop of the sensor module 210 through the control module 110. When the detection current is passed through the bus positive circuit, the direction of the current flows from the phase line 2123 to the bus positive pole 2121. When the detection current is passed through the bus negative circuit, the direction of the current flows from the bus negative pole 2122 to the phase line 2123.
[0042] The following combination Figure 3The communication process between the host device 100 and the product device 200 is described. After the host device 100 respectively passes the detection current to the bus positive electrode 2121 and the bus negative electrode 2122 of the sensor module 210 through the control module 110, the first trigger signal is sent to the sensor module 210. In an optional embodiment, the first trigger signal is the CAN downlink signal 0xFE. In the first trigger signal, the indication data HH=01 indicates that the product device 200 performs coefficient calibration; the information data BB, CC, DD, EE, FF and GG of the first trigger signal send default values; the check data AA=55 makes the first trigger signal valid.
[0043] After receiving the first trigger signal, the product device 200 obtains at least one feedback voltage value of the Hall current sensor 211 for the current phase current. The feedback voltage value is used as information data and sent to the host device 100 through the second trigger signal. In an optional embodiment, the second trigger signal is a CAN uplink signal 0xFF. In the second trigger signal, the indication data PP=01 indicates that the information data corresponds to the feedback voltage value of each phase of the measured current; the information data JJ, KK, LL, MM, NN and OO are hexadecimal numbers, where the information data corresponding to the current phase is Vhex Corresponding to the feedback voltage value of the current phase Vphy , the information data corresponding to other phases corresponds to the feedback voltage value of the sensor module 210 when the detection current is not passed; the verification data II=55, making the second trigger signal valid.
[0044] In an optional embodiment, when the host computer device 100 respectively passes detection current into the bus positive circuit and the bus negative circuit of the sensor module 210, the product device 200 respectively obtains at least one positive feedback voltage value and at least one negative feedback voltage value, and respectively sends a second positive trigger signal and a second negative trigger signal to the host computer device 100, the information data of the second positive trigger signal corresponds to the positive feedback voltage value, and the information data of the second negative trigger signal corresponds to the negative feedback voltage value.
[0045] After receiving at least one second trigger signal, the host device 100 completes the coefficient calibration, and the conversion module 120 obtains the current phase calibration coefficient based on the information data in the at least one second trigger signal. Specifically, obtaining at least one current phase information data Vhex The average value of the phase calibration coefficient is calculated GAIN .
[0046] In the embodiment of the present application, the phase calibration coefficient GAIN satisfy:
[0047]
[0048] in bis the value of the detection current supplied by the host device 100 to the sensor module 210, POS is the average value of at least one positive feedback voltage value, NEG is the average value of at least one negative feedback voltage value.
[0049] Furthermore, the conversion module 120 converts the phase calibration coefficient of each phase current into GAIN The information data is converted into the third trigger signal, and the third trigger signal is input into the product device 200. After the product device 200 receives the third trigger signal, the writing module 220 writes the information data in the third trigger signal into the storage device 400.
[0050] In an optional embodiment, the third trigger signal is a CAN downlink signal 0xFE. In the third trigger signal, the indication data HH=02 indicates that the product device 200 transmits information data to the storage device 400; the information data BB, CC, DD, EE, FF and GG of the third trigger signal correspond to the phase calibration coefficients of each phase current respectively; the verification data AA=55 makes the third trigger signal valid. After the product device 200 receives the third trigger signal, the writing module 220 writes the information data BB, CC, DD, EE, FF and GG into the storage device 400. The fourth trigger signal is a CAN uplink signal 0xFF. In the fourth trigger signal, the indication data PP=02 indicates the end of information transmission; the information data JJ, KK, LL, MM, NN and OO of the fourth trigger signal correspond to the information data BB, CC, DD, EE, FF and GG of the third trigger signal respectively. Optionally, JJ=BB, KK=CC, LL=DD, MM=EE, NN=FF, OO=GG; the verification data II=55 makes the fourth trigger signal valid.
[0051] The following takes the current with U, V, W, X, Y and Z phases as an example, combined with Figure 4 and Figure 5 , describes the process of calibrating coefficients and transmitting data of the sensor calibration device according to the embodiment of the present application. Wherein U, V, W, X, Y and Z correspond to the information data GG, FF, EE, DD, CC and BB in the downlink signal, and the information data OO, NN, MM, LL, KK and JJ in the uplink signal respectively.
[0052] See also Figure 4 , taking the U phase current as an example, obtain the phase calibration coefficient of the U phase current Ugain The process includes: the upper computer device 100 passes the detection current into the bus positive circuit of the sensor module 210 through the control module 110, and sends the first trigger signal 0xFE 55 55 55 55 55 55 55 01 to the product device 200, instructing the sensor module 210 to perform coefficient calibration.
[0053] In this embodiment, in order to facilitate CAN signal conversion, the feedback voltage value Vphy The value range is set to: 1.23V≤ Vphy ≤3.78V, when the detection current value b =0A, Vphy =2.5V.
[0054] At this time, the information data Vhex With feedback voltage value Vphy The conversion relationship is:
[0055]
[0056] The data Vdec The information data of the second trigger signal is a decimal number. Vhex is a decimal number Vdec The corresponding hexadecimal number, for example, when the value of the detection current is b =0A, Vdec =127, Vhex =7F.
[0057] The sensor module 210 obtains at least one positive feedback voltage value output by the Hall current sensor 211 Vphy + And send at least one second positive trigger signal 0xFF 55 7F 7F 7F 7F 7F Vu + 01 to the host device 100;
[0058] After receiving the second positive trigger signal, the host computer device 100 passes a detection current into the bus negative circuit of the sensor module 210 through the control module 110, and sends a first trigger signal 0xFE 55 55 55 55 55 55 55 01 to the product device 200, instructing the sensor module 210 to perform coefficient calibration.
[0059] The sensor module 210 obtains at least one negative feedback voltage value output by the Hall current sensor 211 Vphy - , and send at least one second negative trigger signal 0xFF 55 7F 7F 7F 7F 7F Vu - 01 to the host device 100.
[0060] In the second trigger signal, the information data corresponding to V, W, X, Y and Z is 7F, which is the value of the detection current. b =0A. In an optional embodiment, the Hall current sensor 211 outputs at least 20 positive feedback voltage values. Vphy +and at least 20 negative feedback voltage values Vphy - , and correspondingly sends at least 20 second positive trigger signals and at least 20 second negative trigger signals.
[0061] The host device 100 records at least one hexadecimal value Vu + , Vu + Convert to decimal and calculate the decimal mean value of the U-phase positive feedback voltage Upos , and based on at least one recorded hexadecimal value Vu - , Vu - Convert to decimal and calculate the decimal mean value of the U-phase negative feedback voltage Uneg , further, through
[0062]
[0063] Get the phase calibration coefficient of phase U Ugain And further obtain the phase calibration coefficients of V, W, X, Y and Z phases through the above formula Vgain , Wgain , Xgain , Ygain and Zgain .
[0064] In this embodiment, since the feedback voltage value range is set to 1.23V≤ Vphy ≤3.78V, the phase calibration coefficient obtained GAIN The range is -230≤ GAIN ≤-210. At this time, the phase calibration coefficient GAIN Information Data Ghex The relationship is:
[0065]
[0066] in Gdec The information data of the third trigger signal is Ghex for Gdec Hexadecimal number, for example, when the phase calibration coefficient GAIN =-220, Gdec =127.5, Ghex =7F.
[0067] See also Figure 5 , with the U phase calibration coefficient Ugain For example, the phase calibration coefficient is converted by the conversion module 120 Ugain According to the above formula, it is converted into information data Uhex . And further obtain the information data of V, W, X, Y and Z phases through the same method Vhex ,Whex , Xhex , Yhex and Zhex , and send the third trigger signal to transmit each phase information data through the third trigger signal 0xFE 55 Zhex Yhex Xhex Whex Vhex Uhex 02 inputs the product device 200, and the product device 200 writes the information data in the three trigger signals through the writing module 220 Zhex , Yhex , Xhex , Whex , Vhex and Uhex Write to the storage device 400.
[0068] Information data of each phase calibration coefficient Zhex , Yhex , Xhex , Whex , Vhex and Uhex After writing into the storage device 400, the product device 200 sends a fourth trigger signal 0xFF 55 Z hex Yhex Xhex Whex Vhex Uhex 02 to the host device 100 to verify the data and indicate the end of the data transmission process.
[0069] The present application also provides a sensor calibration method, which is applicable to the sensor calibration device provided in any of the above embodiments. The sensor calibration device defines a trigger signal, and the trigger signal includes verification data, indication data, and at least one information data, such as Figure 6 As shown, the following steps are included:
[0070] Passing a detection current into the bus positive circuit or the bus negative circuit of the Hall current sensor, and sending a first trigger signal;
[0071] Based on the first trigger signal, at least one feedback voltage value output by the Hall current sensor is obtained, and at least one second trigger signal is sent, wherein information data of each second trigger signal corresponds to the feedback voltage value;
[0072] Acquire a current phase calibration coefficient based on the second trigger signal, and send a third trigger signal, wherein each information data of the third trigger signal corresponds to a phase calibration coefficient;
[0073] The information data of the third trigger signal is written into the storage device.
[0074] In an optional embodiment, passing the detection current into the bus positive circuit or the bus negative circuit of the Hall current sensor and sending the first trigger signal includes:
[0075] When the detection current is passed through the bus positive circuit, at least one positive feedback voltage value output by the Hall current sensor is obtained, and at least one second positive trigger signal is sent, and the information data of the second positive trigger signal corresponds to the positive feedback voltage value;
[0076] When the detection current flows into the negative pole of the busbar, at least one negative feedback voltage value output by the Hall current sensor is obtained, and at least one second negative trigger signal is sent, and the information data of the second negative trigger signal corresponds to the negative feedback voltage value.
[0077] Specifically, a detection current is passed through the bus positive circuit of the Hall current sensor, and a first trigger signal is sent. When the first trigger signal is received, at least one positive feedback voltage value is obtained, and at least one second positive trigger signal is sent. Based on the at least one second positive trigger signal, a detection current is passed through the bus negative circuit of the Hall current sensor, and a first trigger signal is sent. When the first trigger signal is received, at least one negative feedback voltage value is obtained, and at least one second negative trigger signal is sent. The information data of each second positive trigger signal corresponds to a feedback positive voltage value, and the information data of each second negative trigger signal corresponds to a feedback negative voltage value. Based on the second positive trigger signal and the second negative trigger signal, the current phase calibration coefficient is obtained.
[0078] An embodiment of the present application also provides an electronic device, including the sensor calibration device provided in any of the above embodiments.
[0079] According to the sensor calibration device and sensor calibration method provided in the present application, the coefficient calibration and storage of the Hall current sensor are completed based on the communication CAN network without the need to use an additional calibration CAN network, making the structure of the automobile system more compact and simple, and helping to reduce development costs and cycles.
[0080] The above is only a specific implementation of the embodiment of the present application, but the protection scope of the embodiment of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the embodiment of the present application, which should be included in the protection scope of the embodiment of the present application. Therefore, the protection scope of the embodiment of the present application shall be based on the protection scope of the claims.
Claims
1. A sensor calibration device, used for calibration learning of Hall current sensor, characterized in that: The sensor calibration device comprises: a host computer device (100), a product device (200) and a storage device (400); The host device (100) comprises a control module (110), a conversion module (120) and a communication module (130); the product device (200) comprises a sensor module (210) and a writing module (220); the sensor module (210) comprises a Hall current sensor (211); The communication module (130) is configured to transmit a first trigger signal, a second trigger signal and a third trigger signal, wherein the first trigger signal, the second trigger signal and the third trigger signal are all CAN signals including verification data, indication data and at least one information data; The control module (110) is configured to pass a detection current into the bus positive circuit or the bus negative circuit of the Hall current sensor (211), and send a first trigger signal to the sensor module (210); The sensor module (210) is configured to receive the first trigger signal, and when the detection current is passed through the bus positive circuit, obtain at least one positive feedback voltage value output by the Hall current sensor (211), and send at least one second positive trigger signal to the conversion module (120), the information data of the second positive trigger signal corresponding to the positive feedback voltage value; when the detection current is passed through the bus negative circuit, obtain at least one negative feedback voltage value output by the Hall current sensor (211), and send at least one second negative trigger signal to the conversion module (120), the information data of the second negative trigger signal corresponding to the negative feedback voltage value; The conversion module (120) is configured to obtain a current phase calibration coefficient based on the second positive trigger signal and the second negative trigger signal, and send a third trigger signal to the writing module (220), each information data of the third trigger signal corresponds to one of the phase calibration coefficients, and the phase calibration coefficients satisfy: GAIN = 2 b / ( POS-NEG ), in, GAIN is the phase calibration coefficient, b is the value of the detection current, POS is the average value of the at least one positive feedback voltage value, NEG is the average value of the at least one negative feedback voltage value; The writing module (220) is configured to write the information data of the third trigger signal into the storage device (400).
2. The sensor calibration device according to claim 1, characterized in that: The product device (200) is further configured to send a fourth trigger signal to the host device (100) after the writing module (220) writes the information data of the third trigger signal into the storage device (400), wherein the information data of the fourth trigger signal corresponds to the information data of the third trigger signal.
3. The sensor calibration device according to claim 1, characterized in that: The product device (200) comprises a CAN chip (230), and the CAN chip (230) sends or receives a trigger signal with the host device (100) via a communication CAN network.
4. The sensor calibration device according to claim 1, characterized in that: The information data of the second trigger signal satisfies: , in, Vphy is the feedback voltage value, Vdec is a decimal number, and the information data of the second trigger signal is Vdec The hexadecimal number.
5. The sensor calibration device according to claim 1, characterized in that: The information data of the third trigger signal satisfies: , in, GAIN is the phase calibration coefficient, Gdec is a decimal number, and the information data of the third trigger signal is Gdec The hexadecimal number.
6. A sensor calibration method for calibration learning of a Hall current sensor, characterized in that: The following steps are involved: Providing a sensor calibration device according to any one of claims 1 to 5; defining a first trigger signal, a second trigger signal and a third trigger signal, wherein the first trigger signal, the second trigger signal and the third trigger signal each include verification data, indication data and at least one information data; Passing a detection current into the bus positive circuit or the bus negative circuit of the Hall current sensor, and sending a first trigger signal; Based on the first trigger signal, when the detection current is passed through the positive circuit of the busbar, at least one positive feedback voltage value output by the Hall current sensor is obtained, and at least one second positive trigger signal is sent, and the information data of the second positive trigger signal corresponds to the positive feedback voltage value; when the detection current is passed through the negative circuit of the busbar, at least one negative feedback voltage value output by the Hall current sensor is obtained, and at least one second negative trigger signal is sent, and the information data of the second negative trigger signal corresponds to the negative feedback voltage value; A current phase calibration coefficient is obtained based on the at least one positive feedback voltage value and the at least one negative feedback voltage value, and a third trigger signal is sent, wherein each information data of the third trigger signal corresponds to one of the phase calibration coefficients, and the phase calibration coefficients satisfy: , in, GAIN is the phase calibration coefficient, b is the value of the detection current, POS is the average value of the at least one positive feedback voltage value, NEG is the average value of the at least one negative feedback voltage value; The information data of the third trigger signal is written into the storage device.
7. An electronic device comprising the sensor calibration device according to any one of claims 1-5.
Citation Information
Patent Citations
Interference compensating single point detecting current sensor for a multiplex busbar
CN104854461A
Open-loop Hall sensor measurement accuracy verification device and verification method thereof
CN105891757A