Hall sensor data acquisition circuit and system and vehicle
By designing a data acquisition circuit compatible with different types of Hall sensors, the problems of low production efficiency and high cost caused by the need to build different circuit topology of different types of Hall sensors in the prior art are solved, and high efficiency without changing the circuit structure is achieved Compatible and reduce costs.
Patent Information
- Application Number
- CN202310539921.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-12
- Publication Date
- 2024-11-12
AI Technical Summary
In the prior art, different circuit topology is required for different types of Hall sensors, resulting in low production efficiency and high cost.
A Hall sensor data acquisition circuit is designed, including a total input terminal, a reference voltage generation module and a signal comparison module, which can receive a single signal output by the first Hall sensor or a superimposed signal output by the second Hall sensor and refer to it. The voltage generates the corresponding output signal to achieve compatibility with different types of Hall sensors.
Without changing the overall structure of the circuit, it can be compatible with different types of Hall sensors, improving production efficiency and reducing manufacturing costs.
Smart Images

Figure CN118937712A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of electronic circuits, and in particular to a Hall sensor data acquisition circuit, system and vehicle. Background Art
[0002] The Hall sensor is a transducer that can convert a changing magnetic field into a change in output voltage, and can be used to collect the speed of the vehicle's motor. As the intelligence level of the cockpit continues to improve, more and more vehicle-mounted motors are used, and there are more and more types of Hall sensors for collecting vehicle-mounted motor speed. Different types of Hall sensors have different types of external output signals. Some only collect speed signals, while others collect speed signals and data signals at the same time. In related technologies, collecting the output signals of different types of Hall sensors requires building different circuit topologies, which has low production efficiency and high costs. Summary of the invention
[0003] In order to solve the above technical problems, the present disclosure provides a Hall sensor data acquisition circuit, system and vehicle.
[0004] The present disclosure provides a Hall sensor data acquisition circuit, comprising a total input terminal, a reference voltage generating module and a signal comparison module, wherein: the total input terminal is used to receive a single signal output by a first Hall sensor or a superimposed signal of at least two signals output by a second Hall sensor, and provide the single signal or the superimposed signal to the signal comparison module; the reference voltage generating module is used to provide a reference voltage to the signal comparison module; the signal comparison module is used to receive the single signal or the superimposed signal and the reference voltage, and generate an output signal according to a comparison result of the single signal or the superimposed signal and the reference voltage.
[0005] Optionally, the output signal includes a first output signal and a second output signal, and the superimposed signal includes a first signal and a second signal; in response to the total input end being used to receive the single signal output by the first Hall sensor, the first output signal and the second output signal are both generated based on the single signal, or, in response to the total input end being used to receive the superimposed signal output by the second Hall sensor, the first output signal is generated based on the first signal, and the second output signal is generated based on the second signal or the superimposed signal.
[0006] Optionally, the first signal and the single signal are speed signals of a vehicle-mounted motor, and the second signal is a data signal.
[0007] Optionally, the output signal includes a first output signal and a second output signal, the reference voltage includes a first reference voltage and a second reference voltage, and the signal comparison module includes a first comparator unit and a second comparator unit; the first comparator unit is used to generate the first output signal based on the comparison result of the single signal or the superimposed signal with the first reference voltage, and the second comparator unit is used to generate the second output signal based on the comparison result of the single signal or the superimposed signal with the second reference voltage.
[0008] Optionally, the first comparator unit and the second comparator unit both include a non-inverting input terminal, an inverting input terminal and an output terminal; the non-inverting input terminal of the first comparator unit is used to receive the single signal or the superimposed signal, the inverting input terminal is used to receive the first reference voltage, and the output terminal is used to output the first output signal; the non-inverting input terminal of the second comparator unit is used to receive the single signal or the superimposed signal, the inverting input terminal is used to receive the second reference voltage, and the output terminal is used to output the second output signal.
[0009] Optionally, the total input end is used to receive the single signal output by the first Hall sensor, the single signal includes a high potential and a low potential, the high potential is higher than the low potential; the first reference voltage is the same as the second reference voltage, and both are higher than the low potential and lower than the high potential.
[0010] Optionally, the total input end is used to receive the superimposed signal output by the second Hall sensor, the superimposed signal including a first potential, a second potential and a third potential, the first potential is higher than the second potential, the second potential is higher than the third potential; the first reference voltage is higher than the second potential and lower than the first potential, the second reference voltage is higher than the third potential and lower than the second potential.
[0011] Optionally, the reference voltage includes a first reference voltage and a second reference voltage, and the reference voltage generating module includes a power input terminal, a first voltage output terminal, a second voltage output terminal, a first resistance unit, a second resistance unit and a third resistance unit; the first resistance unit, the second resistance unit and the third resistance unit are connected in series, the first resistance unit is connected to the power input terminal, and the third resistance unit is grounded; the first voltage output terminal is connected to a node between the first resistance unit and the second resistance unit, and the second voltage output terminal is connected to a node between the second resistance unit and the third resistance unit; the power input terminal is used to receive a power supply voltage, the first voltage output terminal is used to output the first reference voltage, and the second voltage output terminal is used to output the second reference voltage.
[0012] Optionally, the total input end is used to receive the single signal output by the first Hall sensor, the single signal includes a high potential and a low potential, and the high potential is higher than the low potential; the resistance value R2 of the second resistor unit is 0, and the resistance value R1 of the first resistor unit and the resistance value R3 of the third resistor unit meet the following conditions:
[0013]
[0014] Wherein, VL is the low potential, VH is the high potential, and VBAT is the power supply voltage.
[0015] Optionally, the total input end is used to receive the superimposed signal output by the second Hall sensor, the superimposed signal includes a first potential, a second potential and a third potential, the first potential is higher than the second potential, and the second potential is higher than the third potential; the resistance value R1 of the first resistance unit, the resistance value R2 of the second resistance unit and the resistance value R3 of the third resistance unit meet the following conditions:
[0016]
[0017] Wherein, V1 is the first potential, V2 is the second potential, V3 is the third potential, and VBAT is the power supply voltage.
[0018] The disclosed embodiment further provides a Hall sensor data acquisition system, comprising any one of the Hall sensor data acquisition circuits and a data processing module; the data processing module is used to receive the output signal generated by the signal comparison module.
[0019] Optionally, the total input end is used to receive the single signal output by the first Hall sensor, the output signal includes a first output signal and a second output signal, the reference voltage includes a first reference voltage and a second reference voltage, and the signal comparison module includes a first comparator unit and a second comparator unit; the first comparator unit is used to generate the first output signal based on the comparison result between the single signal and the first reference voltage, and the second comparator unit is used to generate the second output signal based on the comparison result between the single signal and the second reference voltage; the data processing module is used to: compare the first output signal with the second output signal, and verify whether the first comparator unit and the second comparator unit are working normally according to whether there is a difference between the first output signal and the second output signal.
[0020] Optionally, the total input end is used to receive a superimposed signal output by the second Hall sensor, the superimposed signal includes a first signal and a second signal, the output signal includes a first output signal and a second output signal, the first output signal is generated based on the first signal, and the second output signal is generated based on the second signal or the superimposed signal, and the data processing module is used to: shear the second output signal according to the first output signal to obtain a third output signal corresponding to the second signal.
[0021] The embodiments of the present disclosure further provide a vehicle, comprising any one of the Hall sensor data acquisition circuits described above, or comprising any one of the Hall sensor data acquisition systems described above.
[0022] The present disclosure provides a Hall sensor data acquisition circuit, system and vehicle, wherein the Hall sensor data acquisition circuit includes a total input terminal, a reference voltage generation module and a signal comparison module, wherein: the total input terminal is used to receive a single signal output by a first Hall sensor or a superposition signal of at least two signals output by a second Hall sensor, and provide the single signal or the superposition signal to the signal comparison module; the reference voltage generation module is used to provide a reference voltage to the signal comparison module; the signal comparison module is used to receive the single signal or the superposition signal and the reference voltage, and generate an output signal according to the comparison result of the single signal or the superposition signal and the reference voltage. The technical solution provided by the present disclosure has the following advantages compared with the prior art: the first Hall sensor or the second Hall sensor is a different type of Hall sensor, and the circuit provided by the present disclosure can be used to receive the signal output by the first Hall sensor, and can also be used to receive the signal output by the second Hall sensor, and can be compatible with different types of Hall sensors without changing the overall structure of the circuit, thereby improving production efficiency and reducing manufacturing costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0024] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0025] Figure 1 A schematic diagram of a single signal waveform output by a first Hall sensor provided in an embodiment of the present disclosure;
[0026] Figure 2 A schematic diagram of a superimposed signal waveform output by a second Hall sensor provided in an embodiment of the present disclosure;
[0027] Figure 3 A schematic diagram of the structure of a Hall sensor data acquisition circuit provided by an embodiment of the present disclosure;
[0028] Figure 4 A schematic diagram of another Hall sensor data acquisition circuit structure provided by an embodiment of the present disclosure;
[0029] Figure 5 A schematic diagram of the structure of a signal comparison module in a Hall sensor data acquisition circuit provided by an embodiment of the present disclosure;
[0030] Figure 6 A structural schematic diagram of a signal comparison module in another Hall sensor data acquisition circuit provided by an embodiment of the present disclosure;
[0031] Figure 7 A schematic diagram of an output signal waveform of a Hall sensor data acquisition circuit provided in an embodiment of the present disclosure;
[0032] Figure 8 A schematic diagram of another output signal waveform of a Hall sensor data acquisition circuit provided in an embodiment of the present disclosure;
[0033] Fig. 9 A schematic diagram of the structure of a reference voltage generating module in a Hall sensor data acquisition circuit provided by an embodiment of the present disclosure;
[0034] Fig.10 A specific circuit schematic diagram of a Hall sensor data acquisition circuit provided by an embodiment of the present disclosure;
[0035] Fig.11 A schematic diagram of the structure of a Hall sensor data acquisition system provided by an embodiment of the present disclosure;
[0036] Fig.12 A schematic diagram of an output signal waveform of another Hall sensor data acquisition circuit provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0037] In order to more clearly understand the above-mentioned purposes, features and advantages of the embodiments of the present disclosure, the scheme of the embodiments of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features therein can be combined with each other without conflict.
[0038] In the following description, many specific details are set forth to facilitate a full understanding of the embodiments of the present disclosure, but the embodiments of the present disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0039] The Hall sensor is a transducer that can convert a changing magnetic field into a change in output voltage. It can be used to measure the magnetic field. In addition, it can also measure the physical quantities that generate and affect the magnetic field. In specific implementation, the Hall sensor can be used to collect the speed of the vehicle's motor.
[0040] When the Hall sensor is used to measure the motor speed, the Hall sensor is usually fixed, and a magnet with good magnetic conductivity is installed at the rotating part of the motor. During the rotation process, each time the magnet approaches the Hall sensor, the Hall sensor considers that the motor has rotated one circle, and calculates the motor speed accordingly. In a specific embodiment, the speed signal output by the Hall sensor is as follows: Figure 1 As shown, they are timing signals of the same level.
[0041] As the intelligence level of cockpits continues to improve, more and more vehicle-mounted motors are used, and more and more types of Hall sensors are used to collect the speed of vehicle-mounted motors. Different types of Hall sensors also have different types of external output signals. Some types, such as the above-mentioned Hall sensors, only collect speed signals, while others collect speed signals and data signals at the same time. In a specific embodiment, the signal collected by the Hall sensor that collects speed signals and data signals at the same time is as follows: Figure 2 As shown, there are at least two timing signals with different high levels.
[0042] In order to adapt to the above different types of Hall sensors, the present disclosure provides a Hall sensor data acquisition circuit, such as Figure 3 As shown, it includes a total input terminal 10, a reference voltage generating module 20 and a signal comparing module 30, wherein:
[0043] The main input terminal 10 is used to receive the single signal Vin1 output by the first Hall sensor or the superposition signal Vin2 of at least two signals output by the second Hall sensor, and provide the single signal Vin1 or the superposition signal Vin2 to the signal comparison module 30 .
[0044] The reference voltage generating module 20 is used to provide a reference voltage Vref to the signal comparing module 30 .
[0045] The reference voltage Vref may be one channel, or two channels or more, which is not limited here.
[0046] The signal comparison module 30 is used to receive the single signal Vin1 or the superimposed signal Vin2. The signal comparison module 30 is also used to receive the reference voltage Vref and generate an output signal Vout according to the comparison result between the single signal Vin1 and the reference voltage Vref or the comparison result between the superimposed signal Vin2 and the reference voltage Vref.
[0047] In specific implementation, the output signal Vout can be one path or two or more paths; when the reference voltage Vref is two or more paths, the comparison results are also two or more paths (the comparison results of a single signal or a superimposed signal with multiple reference voltages respectively), and the number of paths is the same as that of the reference voltage. This part of the content will be reflected in the following embodiments. When the total input terminal 10 receives a single signal Vint1 output by the first Hall sensor, the signal comparison module 30 is used to receive the single signal Vint1; when the total input terminal 10 receives a superimposed signal Vint2 output by the second Hall sensor, the signal comparison module 30 can be used to separate the superimposed signal Vint2 for subsequent data analysis.
[0048] The above-mentioned first Hall sensor or second Hall sensor is the above-mentioned different types of Hall sensors. The circuit in the embodiment of the present disclosure can be used to receive the signal output by the first Hall sensor, and can also be used to receive the signal output by the second Hall sensor. It can be compatible with different types of Hall sensors without changing the overall structure of the circuit, and can be used to collect signals output by different types of Hall sensors, thereby improving production efficiency and reducing manufacturing costs.
[0049] In specific implementation, one circuit is connected to only one type of sensor. The inventive concept of the present disclosure lies in the topological structure of the above-mentioned embodiment, which makes it compatible with the data collection of two sensors under the premise of keeping the big framework unchanged. The internal structure of each module in the above-mentioned circuit may change in different specific embodiments, but compared with the use of different circuit topologies to collect data from different sensors in the related art, the changes in different embodiments of the present disclosure can still save manufacturing costs and improve production efficiency through minor changes.
[0050] In a specific embodiment, the first Hall sensor or the second Hall sensor outputs a timing signal, and whether it is a single signal or a superimposed signal can be seen from the signal waveform, for example Figure 1 and Figure 2 In the waveform shown, a single timing signal has only one same high level, while a signal obtained by superimposing at least two timing signals has at least two different high levels.
[0051] To facilitate explanation of the inventive concept and specific implementation methods of the embodiments of the present disclosure, the following embodiments all take the superimposed signal of the second Hall sensor as the superposition of two signals as an example. However, those skilled in the art may apply the inventive concept of the present disclosure to a second Hall sensor in which the superimposed signal is the superposition of three or more signals without any creative work, which is within the protection scope of the present disclosure.
[0052] In some embodiments, Figure 4 As shown, the superimposed signal includes a first signal and a second signal, the Hall sensor data acquisition circuit includes a first output terminal 41 and a second output terminal 42, the output signal Vout includes a first output signal Vout1 and a second output signal Vout2, the first output terminal 41 is used to output the first output signal Vout1, and the second output terminal 42 is used to output the second output signal Vout2.
[0053] In response to the total input terminal 10 being used to receive the single signal Vint1 output by the first Hall sensor, the first output signal Vout1 and the second output signal Vout2 are both generated based on the single signal Vint1, or, in response to the total input terminal 10 being used to receive the superimposed signal Vint2 output by the second Hall sensor, the first output signal Vout1 is generated based on the first signal, and the second output signal Vout2 is generated based on the second signal or the superimposed signal.
[0054] When the total input terminal 10 receives the superimposed signal Vint2 output by the second Hall sensor, the signal comparison module 30 can be used to separate the superimposed signal Vint2 for subsequent data analysis. If the second output signal Vout2 is generated based on the superimposed signal, the output signal generated based on the second signal can be obtained by cutting off Vout1 generated based on the first signal on Vout2, thereby completing the separation of the superimposed signal.
[0055] When the total input terminal 10 receives a single signal Vint1 output by the first Hall sensor, the first output signal Vout1 and the second output signal Vout2 should be the same. If there is a difference between the first output signal Vout1 and the second output signal Vout2, it means that there is an abnormality in the module in the data acquisition circuit, so that the accuracy of the data can be detected.
[0056] In some embodiments, the first signal and the single signal are speed signals of the vehicle-mounted motor, the second signal is a data signal, and the superimposed signal is the speed signal and the data signal collected simultaneously by the second Hall sensor.
[0057] In a specific implementation, the model of the first Hall sensor may be DRV5013-Q1, and the model of the second Hall sensor may be DF30. Those skilled in the art can clearly determine whether the sensor belongs to the first Hall sensor or the second Hall sensor in the embodiment of the present disclosure based on the device manual of the Hall sensor.
[0058] In some embodiments, the reference voltage includes a first reference voltage Vref1 and a second reference voltage Vref2. Figure 5 As shown, the signal comparison module includes a first comparator unit 31 and a second comparator unit 32 .
[0059] The first comparator unit 31 is used to generate a first output signal Vout1 according to a comparison result between the single signal Vint1 or the superimposed signal Vint2 and the first reference voltage Vref1. The second comparator unit 32 is used to generate a second output signal Vout2 according to a comparison result between the single signal Vint1 or the superimposed signal Vint2 and the second reference voltage Vref2.
[0060] A comparator is a circuit that compares an analog voltage signal with a reference voltage, and generates an output signal based on the comparison result between the analog voltage signal and the reference voltage. The two inputs of the comparator are analog signals, and the output is a binary signal 0 or 1. The comparator can be regarded as a 1-bit analog / digital converter. In a specific embodiment, the output end of the first comparator unit 31 and the second comparator unit 32 for outputting the first output signal Vout1 or the second output signal Vout2 is also used to receive a pull-up voltage VCC, and convert the binary digital signal output by the comparator into an analog signal with a high level of VCC.
[0061] In principle, a comparator is an operational amplifier without negative feedback, but since the open-loop gain of the operational amplifier is very high, it can only process signals with very small input differential voltages, and, in general, the delay time of the operational amplifier is relatively long and cannot meet actual needs. However, the comparator can provide a very small time delay after adjustment, and in order to avoid output oscillation, the first comparator unit 31 and the second comparator unit 32 also include an internal hysteresis circuit.
[0062] In some embodiments, Figure 6 As shown, the first comparator unit 31 and the second comparator unit 32 both include a non-inverting input terminal +, an inverting input terminal −, and an output terminal OUT.
[0063] The first comparator unit 31 has a non-inverting input terminal + for receiving a single signal Vint1 or a superimposed signal Vint2 , an inverting input terminal − for receiving a first reference voltage Vref1 , and an output terminal for outputting a first output signal Vout1 .
[0064] The second comparator unit 32 has a non-inverting input terminal for receiving a single signal Vint1 or a superimposed signal Vint2, an inverting input terminal - for receiving a second reference voltage Vref2, and an output terminal for outputting a second output signal Vout2.
[0065] When the non-inverting input terminal of the comparator receives an input signal and the inverting input terminal receives a reference voltage, the reference voltage is the comparison threshold of the comparator. When the level of the input signal is higher than the reference voltage, the comparator outputs a high-level signal. In a specific embodiment, the comparator outputs a binary signal of 1. When the level of the input signal is lower than the reference voltage, the comparator outputs a low-level signal. In a specific embodiment, the comparator outputs a binary signal of 0. In specific implementation, the output terminal OUT of the first comparator unit 31 and the second comparator unit 32 is also used to receive a pull-up voltage VCC. When the level of the input signal is higher than the reference voltage, the comparator outputs a high-level VCC. When the level of the input signal is lower than the reference voltage, the comparator outputs a low-level 0V.
[0066] In the specific implementation, the comparator chip models that can be used are LM324, LM358, uA741, TL081\2\3\4, OP07, OP27, etc., preferably LM339, LM393. LM339 and LM393 are professional voltage comparators with the advantages of fast switching speed and short delay time. Those skilled in the art can determine the in-phase input terminal, inverting input terminal, output terminal and other circuit connection ports of the comparator unit in the above embodiment of the present disclosure according to the device applicable manual of each chip, and no further elaboration is given here.
[0067] It should be noted that a comparator chip is not necessarily used to implement only one comparator unit. Some comparator chips include multiple comparator units that can realize the above-mentioned functions of the embodiments of the present disclosure. It is also within the protection scope of the present disclosure to complete the functions of two comparator units by one comparator chip.
[0068] In order to better apply to different types of Hall sensors, the present disclosure provides specific embodiments in which the above data acquisition circuit is used for the first Hall sensor or the second Hall sensor respectively.
[0069] In some embodiments, the main input terminal 10 is used to receive the output of the first Hall sensor. Figure 1 The single signal Vint1 shown includes a high potential VH and a low potential VL, and the high potential VH is higher than the low potential VL.
[0070] In this embodiment, the first reference voltage Vref1 is the same as the second reference voltage Vref2 , and both are higher than the low potential VL and lower than the high potential VH.
[0071] In a specific implementation, the output terminals OUT of the first comparator unit 31 and the second comparator unit 32 are also used to receive the pull-up voltage VCC. When the comparison result shows that the level of the input signal is higher than the reference voltage, the comparator outputs a high level VCC; when the comparison result shows that the level of the input signal is lower than the reference voltage, the comparator outputs a low level 0V. After setting the first reference voltage Vref1 and the second reference voltage Vref2, the first output signal Vout1 and the second output signal Vout2 are as follows: Figure 7 The first output signal Vout1 and the second output signal Vout2 should be the same. If there is a difference between the first output signal Vout1 and the second output signal Vout2, it means that there is an abnormality in the module of the data acquisition circuit, so that the accuracy of the data can be detected.
[0072] In some embodiments, the main input terminal 10 is used to receive the output of the second Hall sensor. Figure 2 The superimposed signal Vint2 shown includes a first potential V1, a second potential V2 and a third potential V3. The first potential V1 is higher than the second potential V2, and the second potential V2 is higher than the third potential V3.
[0073] In this embodiment, the first reference voltage Vref1 is higher than the second potential V2 and lower than the first potential V1 , and the second reference voltage Vref2 is higher than the third potential V3 and lower than the second potential V2 .
[0074] After setting the first reference voltage Vref1 and the second reference voltage Vref2, the first output signal Vout1 is as follows: Figure 8 As shown, the second output signal Vout2 is Figure 7 The superimposed signal Vint2 is decomposed into a first output voltage Vout1 and a second output voltage Vout2 after passing through the first comparator unit 31 and the second comparator unit 32. In a specific embodiment, Vint2 is a superimposed signal superimposed with the vehicle motor speed signal and the data signal, Vout1 is a signal with the same timing as the speed signal, and Vout2 is a timing signal superimposed with the speed signal and the data signal. After the waveform of Vout1 is cut in Vout2, a signal with the same timing as the data signal can be obtained, thereby completing the separation of the superimposed signal.
[0075] It can be seen from the above embodiments that as long as different reference voltages are provided for the first comparator unit 31 and the second comparator unit 32, the output signal collection of two different types of Hall sensors can be compatible without changing the overall circuit structure, saving manufacturing costs and improving production efficiency.
[0076] In specific implementation, the reference voltage generating module 20 may be a power module or a voltage regulating module including multiple different outputs. The different reference voltages may be provided by power modules with different outputs or by voltage regulating modules, which are not limited in detail here.
[0077] The present disclosure also provides a specific structure for the reference voltage generation module 20. In some embodiments, the reference voltage includes a first reference voltage Vref1 and a second reference voltage Vref2. Fig. 9 As shown, the reference voltage generating module 20 includes a power input terminal 21 , a first voltage output terminal 22 , a second voltage output terminal 23 , a first resistance unit 24 , a second resistance unit 25 and a third resistance unit 26 .
[0078] The first resistance unit 24 , the second resistance unit 25 and the third resistance unit 26 are connected in series. The first resistance unit 24 is connected to the power input terminal 21 , and the third resistance unit 26 is grounded.
[0079] The first voltage output terminal 22 is connected to a node between the first resistance unit 24 and the second resistance unit 25 , and the second voltage output terminal 23 is connected to a node between the second resistance unit 25 and the third resistance unit 26 .
[0080] The power input terminal 21 is used to receive the power voltage VBAT, the first voltage output terminal 22 is used to output the first reference voltage Vref1 , and the second voltage output terminal 23 is used to output the second reference voltage Vref2 .
[0081] Since a data acquisition circuit of an embodiment of the present disclosure is usually connected to only one type of Hall sensor in specific implementation, the first reference voltage Vref1 and the second reference voltage Vref2 can be set by setting the power supply voltage VBAT and the resistance value of each resistor unit in advance. If the above-mentioned multiple resistor units are not set, when the data acquisition circuit is connected to different types of Hall sensors, in order to meet different reference voltage requirements, it is necessary to change the overall circuit structure of the reference voltage generation module 20, or set a different number of power generation modules. The above-mentioned embodiments of the present disclosure can further save the manufacturing cost of the circuit module and improve production efficiency.
[0082] The present disclosure also provides the reference voltage generation module 20 with specific settings of the resistance unit used for the first Hall sensor or the second Hall sensor, respectively.
[0083] In some embodiments, the main input terminal 10 is used to receive the output of the first Hall sensor. Figure 1 The single signal Vint1 shown includes a high potential VH and a low potential VL, and the high potential VH is higher than the low potential VL.
[0084] In this embodiment, the resistance value R2 of the second resistance unit is 0, and the resistance value R1 of the first resistance unit and the resistance value R3 of the third resistance unit satisfy the following conditions:
[0085]
[0086] Among them, VL is a low potential, VH is a high potential, and VBAT is a power supply voltage.
[0087] After the above settings, the first voltage output terminal 22 and the second voltage output terminal 23 are equivalent to being connected to the same node, the first reference voltage Vref1 is the same as the second reference voltage Vref2, and both are higher than the low potential and lower than the high potential, thereby realizing the setting requirements of the first reference voltage Vref1 and the second reference voltage Vref2 in the above embodiment.
[0088] In some embodiments, the total input terminal 10 is used to receive the superimposed signal Vint2 output by the second Hall sensor, the superimposed signal includes a first potential V1, a second potential V2 and a third potential V3, the first potential V1 is higher than the second potential V2, and the second potential V2 is higher than the third potential V3.
[0089] The resistance value R1 of the first resistance unit, the resistance value R2 of the second resistance unit, and the resistance value R3 of the third resistance unit satisfy the following conditions:
[0090]
[0091] Wherein, V1 is the first potential, V2 is the second potential, V3 is the third potential, and VBAT is the power supply voltage.
[0092] After the above settings, the voltage at the node connected to the first voltage output terminal 22 is The voltage at the node connected to the second voltage output terminal 23 is The first reference voltage Vref1 is higher than the second potential V2 and lower than the first potential V1 , and the second reference voltage Vref2 is higher than the third potential V3 and lower than the second potential V2 , thereby achieving the setting requirements of the first reference voltage Vref1 and the second reference voltage Vref2 in the above embodiment.
[0093] In a specific implementation, the first resistance unit 24 , the second resistance unit 25 and the third resistance unit 26 may be sliding resistance units, so as to facilitate the adjustment of the resistance value of each resistance unit.
[0094] The embodiment of the present disclosure also provides an overall circuit schematic diagram of a Hall sensor data acquisition circuit, such as Fig.10 As shown, the device comprises a total input terminal 10 , a reference voltage generating module 20 and a signal comparing module 30 . The signal comparing module 30 further comprises a first comparator unit 31 and a second comparator unit 32 .
[0095] The reference voltage generating module 20 further includes a resistor R1 (i.e., the first resistor unit 24), a resistor R2 (i.e., the second resistor unit 25), and a resistor R3 (i.e., the third resistor unit 26). The node between R1 and R2 is connected to the inverting input terminal - of the first comparator unit 31, and the node between R2 and R3 is connected to the inverting input terminal - of the second comparator unit 32.
[0096] VCC is a pull-up voltage, and resistors R8 and R9 are pull-up resistors. Since the comparator usually uses an open collector for output, a pull-up resistor must be used to enable the comparator to output a high-level signal. The specific working principle of the pull-up resistor is well known to those skilled in the art, and the embodiments of the present disclosure will not be described in detail here.
[0097] Resistors R4 and R5 are used to limit the current flowing into the Hall sensor data acquisition circuit, and can also play a role in voltage division to prevent excessive current in the circuit from burning the equipment, thereby improving the safety of the delay circuit. The specific working principles of the current limiting resistor and the voltage dividing resistor are well known to those skilled in the art, and will not be described in detail in the embodiments of the present disclosure.
[0098] The resistor R6 and the resistor R7 are positive feedback resistors, which are used to prevent the circuit from oscillating. The specific working principle of the positive feedback resistor is well known to those skilled in the art, and will not be described in detail in the embodiment of the present disclosure.
[0099] It should be noted that Fig.10 The resistance value and type of material of R4 to R9 can be selected according to the actual use requirements of the Hall sensor data acquisition circuit, and the embodiment of the present disclosure does not limit this.
[0100] There may be abnormal electrical signals such as high-frequency signals or clutter signals in the single signal Vin1 output by the first Hall sensor or the superimposed signal Vin2 output by the second Hall sensor. If these abnormal electrical signals are output to the data acquisition circuit, they may affect the normal use of the circuit. In the embodiment of the present disclosure, the first end of the filter capacitor C1 is connected to the input end, and the second end is grounded. The high-frequency signal or clutter signal in the single signal Vin1 output by the first Hall sensor or the superimposed signal Vin2 output by the second Hall sensor applied to the filter capacitor C1 is filtered by the filter capacitor C1, thereby using the filter capacitor C1 to filter the instantaneous abnormal signal to avoid damaging the circuit.
[0101] The single signal Vin1 output by the first Hall sensor or the superimposed signal Vin2 output by the second Hall sensor may also contain noise carried by external devices. The filter capacitor C1 can also play a decoupling role to avoid noise interference with the delay circuit. In specific implementation, the capacitance value of the filter capacitor C1 can be set to 1μF~10μF, at which time the filter capacitor C1 can filter out low-frequency noise; the capacitance value of the filter capacitor C1 can also be set to 0.01uF~0.1uF, at which time the filter capacitor C1 can filter out high-frequency noise. The specific filtering principle and decoupling principle of the filter capacitor C1 are well known to those skilled in the art, and the embodiments of the present disclosure will not be elaborated here. It should be noted that the capacitance value of the filter capacitor C1 is determined by the voltage value output by the external power supply, and the embodiments of the present disclosure are not limited to this.
[0102] Based on the same inventive concept, the disclosed embodiment also provides a Hall sensor data acquisition system, such as Fig.11 As shown, it includes the Hall sensor data acquisition circuit and the data processing module 40 in any of the above embodiments.
[0103] The data processing module 40 is used to receive the output signal Vout generated by the signal comparison module 30 and continue to output the signal Vout.
[0104] The data acquisition system provided by the present invention can be used to receive signals output by a first Hall sensor, and can also be used to receive signals output by a second Hall sensor. It is compatible with different types of Hall sensors without changing the overall structure of the circuit. It can be used to collect signals output by different types of Hall sensors and analyze them using a data processing module, thereby improving production efficiency and reducing manufacturing costs.
[0105] It should be noted that Fig.11 The connection relationship between the data processing module 40 and the signal comparison module 30 in the data acquisition circuit is shown only for exemplary purposes, and the number of signal connection lines between the data processing module 40 and the signal comparison module 30 is not limited. The data processing module 40 is capable of receiving the output signal Vout in all the above-mentioned embodiments, as well as the first output signal Vout1 and the second output signal Vout2 included in the output signal Vout.
[0106] Specifically, Fig.10 In the embodiment shown, the data processing module 40 may be a MCU (Microcontroller Unit). The MCU system may be an embedded system, in which the software program is integrated with the MCU hardware to implement the analysis of the output signal.
[0107] In specific implementation, when the above data acquisition circuit is used to receive different types of Hall sensors, the data processing module performs different tasks accordingly. Figure 5 As shown, the total input terminal 10 is used to receive a single signal Vint1 output by the first Hall sensor, the output signal includes a first output signal Vout1 and a second output signal Vout2, the reference voltage includes a first reference voltage Vref1 and a second reference voltage Vref2, and the signal comparison module 30 includes a first comparator unit 31 and a second comparator unit 32.
[0108] The first comparator unit 31 is used to generate a first output signal Vout1 based on a comparison result between the single signal and a first reference voltage Vref1 , and the second comparator unit 32 is used to generate a second output signal Vout2 based on a comparison result between the single signal and a second reference voltage Vref2 .
[0109] The data processing module 40 is used for:
[0110] The first output signal Vout1 is compared with the second output signal Vout2, and according to whether there is a difference between the first output signal Vout1 and the second output signal Vout2, it is verified whether the first comparator unit 31 and the second comparator unit 32 are working normally. Specifically, in response to the difference between the first output signal Vout1 and the second output signal Vout2, the first comparator unit 31 and the second comparator unit 32 are not working normally; in response to the absence of a difference between the first output signal Vout1 and the second output signal Vout2, the first comparator unit 31 and the second comparator unit 32 are working normally.
[0111] When the total input terminal 10 receives a single signal Vint1 output by the first Hall sensor, the comparison results of the first output signal Vout1 and the second output signal Vout2 should be the same. If there is a difference in the comparison results of the first output signal Vout1 and the second output signal Vout2, it means that the first comparator unit 31 or the second comparator unit 32 is working abnormally, and the accuracy of the data can also be detected.
[0112] In some embodiments, the total input terminal 10 is used to receive the superimposed signal Vint2 output by the second Hall sensor, the superimposed signal Vint2 includes the first signal and the second signal, the output signal includes the first output signal Vout1 and the second output signal Vout2, the first output signal Vout1 is generated according to the first signal, and the second output signal Vout2 is generated according to the second signal or the superimposed signal. In a specific embodiment, the output signal Vout2 is generated according to the superimposed signal. In this embodiment, the data processing module 40 is used to:
[0113] The second output signal Vout2 is clipped according to the first output signal Vout1 to obtain a third output signal Vout3 corresponding to the second signal.
[0114] After passing through the above data acquisition circuit, the superimposed signal Vint2 is decomposed into a first output voltage Vout1 and a second output voltage Vout2. In a specific embodiment, Vint2 is a superimposed signal of the vehicle motor speed signal and the data signal. Figure 8 As shown, it is a signal with the same timing as the speed signal. The Vout2 waveform is Figure 7 The waveform shown is similar to that of FIG. 1 , which is a timing signal superimposed with the speed signal and the data signal. After the waveform of Vout1 is cut in Vout2, a third output signal Vout3 (such as Fig.12 As shown), the superimposed signal is separated.
[0115] Based on the same inventive concept, an embodiment of the present disclosure further provides a vehicle, comprising the Hall sensor data acquisition circuit in any of the above embodiments, or comprising the Hall sensor data acquisition system in any of the above embodiments.
[0116] The data acquisition circuit or data acquisition system in the vehicle provided by the present invention can be compatible with different types of Hall sensors without changing the overall structure of the circuit, and can be used to collect signals output by different types of Hall sensors, thereby improving production efficiency and reducing manufacturing costs.
[0117] Specifically, the vehicle further includes an on-board motor, and a first Hall sensor and / or a second Hall sensor for collecting a speed signal and / or a data signal of the on-board motor. The vehicle may include only the first Hall sensor and the data acquisition circuit or data acquisition system matched with the first Hall sensor, or only the second Hall sensor and the data acquisition circuit or data acquisition system matched with the second Hall sensor, or may include both the first Hall sensor and the second Hall sensor, and the data acquisition circuit or data acquisition system matched with the two sensors.
[0118] Specifically, the data processing module in the above embodiment may be a vehicle controller in a vehicle.
[0119] The vehicle described in the embodiments of the present disclosure may be a fuel vehicle, a pure electric vehicle, or a hybrid vehicle, etc., and the embodiments of the present disclosure do not specifically limit this.
[0120] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including a..." do not exclude the existence of other identical elements in the process, method, article or device including the above elements.
[0121] The above are only specific embodiments of the present disclosure, which enable those skilled in the art to understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described above, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A Hall sensor data acquisition circuit, characterized in that: It includes a total input terminal, a reference voltage generation module and a signal comparison module, wherein: The total input terminal is used to receive a single signal output by the first Hall sensor or a superposition signal of at least two signals output by the second Hall sensor, and provide the single signal or the superposition signal to the signal comparison module; The reference voltage generating module is used to provide a reference voltage to the signal comparing module; The signal comparison module is used to receive the single signal or the superimposed signal and the reference voltage, and generate an output signal based on a comparison result between the single signal or the superimposed signal and the reference voltage.
2. The Hall sensor data acquisition circuit according to claim 1, characterized in that: The output signal includes a first output signal and a second output signal, and the superimposed signal includes a first signal and a second signal; In response to the total input end being used to receive the single signal output by the first Hall sensor, the first output signal and the second output signal are both generated based on the single signal, or, in response to the total input end being used to receive the superimposed signal output by the second Hall sensor, the first output signal is generated based on the first signal, and the second output signal is generated based on the second signal or the superimposed signal.
3. The Hall sensor data acquisition circuit according to claim 2, characterized in that: The first signal and the single signal are rotation speed signals of the vehicle-mounted motor, and the second signal is a data signal.
4. The Hall sensor data acquisition circuit according to claim 1, characterized in that: The output signal includes a first output signal and a second output signal, the reference voltage includes a first reference voltage and a second reference voltage, and the signal comparison module includes a first comparator unit and a second comparator unit; The first comparator unit is used to generate the first output signal based on the comparison result between the single signal or the superimposed signal and the first reference voltage, and the second comparator unit is used to generate the second output signal based on the comparison result between the single signal or the superimposed signal and the second reference voltage.
5. The Hall sensor data acquisition circuit according to claim 4, characterized in that: The first comparator unit and the second comparator unit each include a non-inverting input terminal, an inverting input terminal and an output terminal; The first comparator unit has a non-inverting input terminal for receiving the single signal or the superimposed signal, an inverting input terminal for receiving the first reference voltage, and an output terminal for outputting the first output signal; The non-inverting input terminal of the second comparator unit is used to receive the single signal or the superimposed signal, the inverting input terminal is used to receive the second reference voltage, and the output terminal is used to output the second output signal.
6. The Hall sensor data acquisition circuit according to claim 4, characterized in that: The total input end is used to receive the single signal output by the first Hall sensor, the single signal includes a high potential and a low potential, and the high potential is higher than the low potential; The first reference voltage is the same as the second reference voltage, and both are higher than the low potential and lower than the high potential.
7. The Hall sensor data acquisition circuit according to claim 4, characterized in that: The total input end is used to receive the superimposed signal output by the second Hall sensor, the superimposed signal includes a first potential, a second potential and a third potential, the first potential is higher than the second potential, and the second potential is higher than the third potential; The first reference voltage is higher than the second potential and lower than the first potential, and the second reference voltage is higher than the third potential and lower than the second potential.
8. The Hall sensor data acquisition circuit according to claim 4, characterized in that: The reference voltage includes a first reference voltage and a second reference voltage, and the reference voltage generation module includes a power input terminal, a first voltage output terminal, a second voltage output terminal, a first resistance unit, a second resistance unit and a third resistance unit; The first resistance unit, the second resistance unit and the third resistance unit are connected in series, the first resistance unit is connected to the power input terminal, and the third resistance unit is grounded; The first voltage output terminal is connected to a node between the first resistance unit and the second resistance unit, and the second voltage output terminal is connected to a node between the second resistance unit and the third resistance unit; The power input terminal is used to receive a power voltage, the first voltage output terminal is used to output the first reference voltage, and the second voltage output terminal is used to output the second reference voltage.
9. The Hall sensor data acquisition circuit according to claim 8, characterized in that: The total input end is used to receive the single signal output by the first Hall sensor, the single signal includes a high potential and a low potential, and the high potential is higher than the low potential; The resistance value R2 of the second resistance unit is 0, and the resistance value R1 of the first resistance unit and the resistance value R3 of the third resistance unit satisfy the following conditions: Wherein, VL is the low potential, VH is the high potential, and VBAT is the power supply voltage.
10. The Hall sensor data acquisition circuit according to claim 8, characterized in that: The total input end is used to receive the superimposed signal output by the second Hall sensor, the superimposed signal includes a first potential, a second potential and a third potential, the first potential is higher than the second potential, and the second potential is higher than the third potential; The resistance value R1 of the first resistance unit, the resistance value R2 of the second resistance unit, and the resistance value R3 of the third resistance unit satisfy the following conditions: Wherein, V1 is the first potential, V2 is the second potential, V3 is the third potential, and VBAT is the power supply voltage.
11. A Hall sensor data acquisition system, characterized in that: A Hall sensor data acquisition circuit and a data processing module comprising any one of claims 1 to 10; The data processing module is used to receive the output signal generated by the signal comparison module.
12. The Hall sensor data acquisition system according to claim 11, characterized in that: The total input terminal is used to receive the single signal output by the first Hall sensor, the output signal includes a first output signal and a second output signal, the reference voltage includes a first reference voltage and a second reference voltage, and the signal comparison module includes a first comparator unit and a second comparator unit; The first comparator unit is used to generate the first output signal based on a comparison result between the single signal and the first reference voltage, and the second comparator unit is used to generate the second output signal based on a comparison result between the single signal and the second reference voltage; The data processing module is used for: The first output signal is compared with the second output signal, and whether the first comparator unit and the second comparator unit work normally are verified according to whether there is a difference between the first output signal and the second output signal.
13. The Hall sensor data acquisition system according to claim 11, characterized in that: The total input end is used to receive the superimposed signal output by the second Hall sensor, the superimposed signal includes a first signal and a second signal, the output signal includes a first output signal and a second output signal, the first output signal is generated according to the first signal, and the second output signal is generated according to the second signal or the superimposed signal, and the data processing module is used to: The second output signal is sheared according to the first output signal to obtain a third output signal corresponding to the second signal.
14. A vehicle, characterized in that: The device comprises the Hall sensor data acquisition circuit as described in any one of claims 1 to 10, or comprises the Hall sensor data acquisition system as described in any one of claims 11 to 13.
