Circuit for simulating two-wire Hall sensor signal and vehicle testing method
By designing a circuit for simulating the two-wire Hall sensor signal, the problem of high cost and difficulty of analog signals in the development of automotive controllers is solved, and safe and reliable simulation functions are realized, reducing development costs and improving efficiency.
Patent Information
- Application Number
- CN202311389808.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-24
- Publication Date
- 2025-07-01
- Estimated Expiration
- 2043-10-24
AI Technical Summary
During the development and verification of automotive controllers, it is costly and difficult to simulate two-wire Hall sensor signals, and it is difficult to fully cover all working conditions, especially in high voltage or high current application scenarios.
A circuit for simulating the signal of a two-wire Hall sensor is designed, including a multi-vibration circuit, a duty cycle adjustment circuit and a constant current modulation circuit. By adjusting the output frequency, duty cycle and output current of the circuit, the signal is simulated.
Through pure circuit simulation, this circuit is safe and reliable, simple to operate, effectively reducing development costs, compressing development cycles, improving development efficiency, and fully covering testing needs.
Smart Images

Figure CN117459036B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of automotive controllers, and particularly relates to a circuit for simulating a two-wire Hall sensor signal and an automotive test method. Background Art
[0002] Hall sensors are widely used in automotive control; they are generally divided into three-wire voltage-type Hall sensors and two-wire current-type Hall sensors; the current output of the two-wire current type usually presents a high-current state or a low-current state according to different magnetic field changes, and detecting the magnitude of this current can be used as a digital quantity. Using a current signal is not easily interfered, and the wire resistance in series in the circuit does not affect the sensor accuracy, and it can be transmitted hundreds of meters on ordinary twisted pairs and other advantages.
[0003] During the development and verification of the controller, the usual practice is to connect real actuators or sensors to conduct the design verification of the controller. Real sensors or actuators need relative working conditions to emit the waveforms that need to be verified, and a large number of peripheral devices are required to support the sensors or actuators to simulate waveforms under different working conditions. On the one hand, the simulation cost is relatively high and the construction period is long; on the other hand, the simulation is relatively difficult, and it is difficult to completely cover all working conditions, especially in some high-voltage or high-current application scenarios, which is somewhat dangerous. Summary of the Invention
[0004] The technical problem to be solved by the present invention is: to provide a circuit for simulating a two-wire Hall sensor signal and an automotive test method for simulating a two-wire Hall sensor signal.
[0005] The technical solution adopted by the present invention to solve the above technical problem is: a circuit for simulating a two-wire Hall sensor signal, including a multivibrator circuit for starting oscillation and outputting a PWM signal when the circuit is powered on, and the PWM signal is used to simulate the two-wire Hall sensor signal; it also includes a duty cycle adjustment circuit and a constant current modulation circuit; the duty cycle adjustment circuit includes a sliding rheostat, and the slider of the sliding rheostat is connected to the discharge pin of the multivibrator circuit, and is used to adjust the ratio of the charging time and the discharging time of the charging and discharging capacitor by adjusting the position of the slider of the sliding rheostat, so as to adjust the duty cycle of the PWM signal; the capacitance value of the charging and discharging capacitor is determined according to the frequency of the current signal to be output; the constant current modulation circuit is connected to the output end of the multivibrator circuit and is used to make the output current stable at a certain current value to form a constant current.
[0006] According to the above solution, the duty cycle adjustment circuit includes a sliding rheostat R2, a first resistor R1 and a third resistor R3 respectively connected in series at both ends of the sliding rheostat R2; the center tap of the sliding rheostat R2 is connected to the DIS pin of the 555 timer U1, and the other end of the first resistor R1 is connected to the RST pin of the 555 timer U1 and the power supply terminal VCC;
[0007] Let RP = R1 + R2 + R3, the sum of the resistance from the center tap of the sliding rheostat R2 to the end connected in series with the first resistor R1 and the resistance value of the first resistor R1 is Ra, and the sum of the resistance from the center tap of the sliding rheostat R2 to the end connected in series with the third resistor R3 and the resistance value of the third resistor R3 is Rb. The charging time of the charge-discharge capacitor C is t 充 , and the discharging time is t 放 , then the duty cycle D is:
[0008] D = t 充 / t 放 = Ra / (Ra + Rb) = Ra / RP,
[0009] Adjust the sliding rheostat R2. When the center tap of the sliding rheostat R2 slides to the end connected in series with the first resistor R1, D = R1 / RP;
[0010] When the center tap of the sliding rheostat R2 slides to the end connected in series with the third resistor R3, D = Ra / (Ra + Rb).
[0011] Furthermore, the multivibrator circuit includes a 555 timer U1, a charge-discharge capacitor C connected in parallel between the TRIG pin of the 555 timer U1 and the power supply ground GND, a diode D1 with the positive pole connected to the DIS pin of the 555 timer U1 and the negative pole connected to the TRIG pin, and a diode D2 with the positive pole connected to the TRIG pin of the 555 timer U1 and the negative pole connected to the other end of the third resistor R3; the OUT pin of the 555 timer U1 is used to output a PWM signal;
[0012] When just powered on, the initial potential of the TRIG pin of the 555 timer U1 is low level, and the 555 timer U1 is set, so the OUT pin of the 555 timer U1 is high level; the charge-discharge capacitor C is charged through Ra and D1, and the corresponding charging time t 充 is:
[0013] t 充 = 0.7RaC;
[0014] When the voltage is charged to the threshold level 2 / 3VCC, the 555 timer U1 is reset, and the OUT pin turns to low level. At this time, the charge-discharge capacitor C discharges through D2, Rb and the internal discharge tube of the 555 timer U1, and the discharging time t 放 is:
[0015] t 放 = 0.7RbC;
[0016] Then the oscillation period T is:
[0017] T = t 充 + t 放 .
[0018] Furthermore, the charge and discharge capacitor C includes a second capacitor C2, a third capacitor C3, a fourth capacitor C4, and a fifth capacitor C5 connected in parallel.
[0019] Furthermore, it further includes a frequency adjustment circuit connected to the multivibrator circuit; the frequency adjustment circuit includes a DIP switch SW1, and the four-way switches of the DIP switch SW1 are respectively connected in series with the second capacitor C2, the third capacitor C3, the fourth capacitor C4, and the fifth capacitor C5, and are used to selectively conduct the second capacitor C2, the third capacitor C3, the fourth capacitor C4, and the fifth capacitor C5, thereby modulating different oscillation frequencies f:
[0020] f = 1.43 / (Ra + Rb)*Ci, i = 2, 3, 4, 5.
[0021] According to the above solution, the constant current modulation circuit is a triode constant current circuit, including a MOSFET Q1, a second triode Q2, a third triode Q3, a fourth resistor R4, a fifth resistor R5, and a sixth resistor R6; the pin 3 of the MOSFET Q1 is connected to the other end of the fourth resistor R4, the pin 2 of the MOSFET Q1 is connected to the power supply terminal VCC, and the pin 1 of the MOSFET Q1 is connected to the OUT pin of the 555 timer U1; the collector of the third triode Q3 is connected to the bases of the fourth resistor R4, the fifth resistor R5, and the second triode Q2, the base of the third triode Q3 is connected to the collector of the second triode Q2, and the emitter of the third triode Q3 is the signal output terminal; the other end of the fifth resistor R5 and the emitter of the second triode Q2 are connected to the power supply terminal VCC; one end of the sixth resistor R6 is connected to the collector of the second triode Q2, and the other end is connected to the power ground GND;
[0022] The third triode Q3 and the fourth resistor R4, the fifth resistor R5 form the main circuit of the constant current modulation circuit, and the third triode Q3 and the sixth resistor R6 form the upper bias resistor of the base of the third triode Q3;
[0023] After the power is turned on, the base current of the third triode Q3 generates a collector current, and the emitter current of the third triode Q3 flows through the fourth resistor R4 and generates a voltage drop across the fourth resistor R4;
[0024] When the voltage drop across the fourth resistor R4 reaches 0.6V, the second triode Q2 conducts accordingly; the collector current of the second triode Q2 flows through the sixth resistor R6, shunting the base current of the third triode Q3, and the base current of the third triode Q3 decreases accordingly, and the collector current of the third triode Q3 also decreases accordingly.
[0025] Therefore, after the second triode Q2 conducts, it limits the base current of the third triode Q3, making the output current of the circuit stable at a certain current value, forming a constant current I; the magnitude of the constant current I is determined by the resistance value of the fourth resistor R4 and the Vbe of the second triode Q2:
[0026] I = Vbe / R4.
[0027] Furthermore, the MOSFET Q1, the fourth resistor R4, and the fifth resistor R5 also form an output current adjustment circuit; the output current adjustment circuit is used to output frequency signals of two different currents according to the PWM signal output by the multivibrator circuit to adjust the output current of the two-wire Hall sensor signal:
[0028] When the PWM is at a high level, the MOSFET Q1 is cut off, and the output current is Vbe / R5;
[0029] When the PWM is at a low level, the MOSFET Q1 conducts, and the output current is Vbe / (R5 / / R4).
[0030] Furthermore, it also includes a first capacitor C1; the first capacitor C1 is connected in parallel between the CV pin of the 555 timer U1 and the power supply ground GND.
[0031] A method for testing an automotive controller by using a circuit for simulating a two-wire Hall sensor signal includes the following steps:
[0032] Connect the circuit for simulating the two-wire Hall sensor signal as a two-wire Hall sensor to the input end of the automotive controller;
[0033] By inputting a frequency control signal to the trigger pin of the multivibrator circuit in the circuit for simulating the two-wire Hall sensor signal, adjusting the slider of the sliding rheostat to adjust the duty cycle control signal input to the discharge pin of the multivibrator circuit, and selecting a suitable impedance for the output end of the multivibrator circuit, so that the circuit for simulating the two-wire Hall sensor signal outputs a Hall sensor signal that meets the requirements;
[0034] Judge the corresponding relationship between the signal output by the circuit for simulating the two-wire Hall sensor signal and the standard output signal of the automotive controller, so as to verify whether the various indicators of the automotive controller meet the development requirements.
[0035] A computer storage medium stores a computer program executable by a computer processor, and the computer program executes an automotive controller testing method.
[0036] The beneficial effects of the present invention are as follows:
[0037] 1. The circuit and automotive testing method for simulating the signal of a two-wire Hall sensor in the present invention adopt a pure circuit simulation method to adjust the output frequency, duty cycle, and output current of the circuit according to requirements, realizing the function of simulating the signal of a two-wire Hall sensor.
[0038] 2. The present invention is used to replace the two-wire Hall sensor for design verification and testing during the development of automotive controllers, effectively reducing the development cost.
[0039] 3. The present invention is safe, reliable, simple to operate, and highly practical. It shortens the development cycle of the controller, improves the development efficiency, and completely covers the testing requirements. Description of the Drawings
[0040] Figure 1 is the principle block diagram of an embodiment of the present invention.
[0041] Figure 2 is the circuit diagram of an embodiment of the present invention. Detailed Embodiments
[0042] The present invention will be further described in detail below in conjunction with the drawings and specific embodiments.
[0043] See Figure 1 , Embodiment 1 of the present invention includes a multivibrator circuit composed of a 555 timer, a duty cycle adjustment circuit composed of a sliding rheostat and peripheral circuits, a frequency adjustment circuit composed of a DIP switch and capacitors, a transistor constant current circuit composed of transistors, and an output current adjustment circuit composed of MOSFETs; the transistor constant current circuit and the output current adjustment circuit together form a constant current circuit.
[0044] The described astable multivibrator circuit includes a 555 timer U1, a charge-discharge capacitor C connected in parallel between the TRIG pin of the 555 timer U1 and the power ground GND, a diode D1 with its positive pole connected to the DIS pin of the 555 timer U1 and its negative pole connected to the TRIG pin, and a diode D2 with its positive pole connected to the TRIG pin of the 555 timer U1 and its negative pole connected to the other end of the third resistor R3. The OUT pin of the 555 timer U1 is used to output a PWM signal. When the VCC of the astable multivibrator circuit is powered on, the oscillator starts to oscillate. When just powered on, since the voltage on the charge-discharge capacitor C cannot change suddenly, that is, the initial level of the potential of pin 2 of the 555 timer is at a low potential, which causes the 555 to be set and pin 3 to be at a high level. The charge-discharge capacitor C charges through Ra and D1, and the charging time is t charge = 0.7RaC. When the voltage charges to the threshold level 2 / 3VCC, the 555 timer is reset and the potential of pin 3 turns to a low level. At this time, the charge-discharge capacitor C discharges through D2, Rb, and the internal discharge tube of the 555 timer, and the discharge time is t discharge = 0.7RbC, and the oscillation period is T = t 充 +t 放 .
[0045] The described duty cycle adjustment circuit includes a potentiometer R2, a first resistor R1 and a third resistor R3 respectively connected in series at both ends of the potentiometer R2. The center tap of the potentiometer R2 is connected to the DIS pin of the 555 timer U1, and the other end of the first resistor R1 is connected to the RST pin of the 555 timer U1 and the power supply terminal VCC. In the duty cycle adjustment circuit, let RP = R1 + R2 + R3, the sum of the resistance from the center tap of the potentiometer R2 to the end connected in series with the first resistor R1 and the resistance value of the first resistor R1 is Ra, and the sum of the resistance from the center tap of the potentiometer R2 to the end connected in series with the third resistor R3 and the resistance value of the third resistor R3 is Rb. According to the needs of the actual duty cycle control range, the resistance values of R1, R2 and R3 are selected. Let the duty cycle be D, then D = t 充 / t 放 = Ra / (Ra + Rb) = Ra / RP; when the center tap of the potentiometer R2 slides to the uppermost end, D = R1 / RP; when the center tap of the potentiometer R2 slides to the lowermost end, D = Ra / Ra + Rb.
[0046] The oscillation frequency of the frequency adjustment circuit is f = 1.43 / (Ra + Rb)*C.
[0047] The constant current circuit includes MOSFET Q1, the second triode Q2, the third triode Q3, the fourth resistor R4, the fifth resistor R5, and the sixth resistor R6; pin 3 of MOSFET Q1 is connected to the other end of the fourth resistor R4, pin 2 of MOSFET Q1 is connected to the power supply terminal VCC, and pin 1 of MOSFET Q1 is connected to the OUT pin of the 555 timer U1; the collector of the third triode Q3 is connected to the fourth resistor R4, the fifth resistor R5, and the base of the second triode Q2, the base of the third triode Q3 is connected to the collector of the second triode Q2, and the emitter of the third triode Q3 is the signal output terminal; the other end of the fifth resistor R5 and the emitter of the second triode Q2 are connected to the power supply terminal VCC; one end of the sixth resistor R6 is connected to the collector of the second triode Q2, and the other end is connected to the power ground GND;
[0048] The third triode Q3, the fourth resistor R4, and the fifth resistor R5 form the main circuit of the constant current modulation circuit, and the third triode Q3 and the sixth resistor R6 form the upper bias resistor of the base of the third triode Q3;
[0049] After the power is turned on, the base current of the third triode Q3 generates a collector current, and the emitter current of the third triode Q3 flows through the fourth resistor R4 and generates a voltage drop across the fourth resistor R4;
[0050] When the voltage drop across the fourth resistor R4 reaches 0.6V, the second triode Q2 conducts accordingly; the collector current of the second triode Q2 flows through the sixth resistor R6, shunting the base current of the third triode Q3, and the base current of the third triode Q3 decreases accordingly, and the collector current of the third triode Q3 also decreases;
[0051] Therefore, after the second triode Q2 conducts, it limits the base current of the third triode Q3, making the output current of the circuit stable at a certain current value, forming a constant current I; the magnitude of the constant current I is determined by the resistance value of the fourth resistor R4 and the Vbe of the second triode Q2:
[0052] I = Vbe / R4.
[0053] The constant current circuit also includes an output current adjustment circuit; the output current adjustment circuit is composed of MOSFET Q1, the fourth resistor R4, and the fifth resistor R5, and is used to output frequency signals of two different currents according to the PWM signal output by the multivibrator circuit to adjust the output current of the two-wire Hall sensor signal. Q1 is used to output frequency signals of two different currents according to the PWM signal output by the timer: when PWM is at a high level, the MOSFET is cut off, and the output current is vbe / R5; when PWM is at a low level, the MOSFET is turned on, and the output current is Vbe / (R5 / / R4).
[0054] It also includes a first capacitor C1; the first capacitor C1 is connected in parallel between the CV pin of the 555 timer U1 and the power ground GND.
[0055] Embodiment 2: The structure and principle of this embodiment are the same as those of Embodiment 1, and the difference lies in that: it further includes a frequency adjustment circuit connected to the multivibrator circuit; the charge and discharge capacitor C includes a second capacitor C2, a third capacitor C3, a fourth capacitor C4, and a fifth capacitor C5 connected in parallel; the frequency adjustment circuit includes a DIP switch SW1, and the four-way switches of the DIP switch SW1 are respectively connected in series with the second capacitor C2, the third capacitor C3, the fourth capacitor C4, and the fifth capacitor C5, and are used to select and conduct the second capacitor C2, the third capacitor C3, the fourth capacitor C4, or the fifth capacitor C5, so as to modulate different oscillation frequencies f:
[0056] f = 1.43 / (Ra + Rb) * Ci, where i = 2, 3, 4, 5.
[0057] Embodiment 3:
[0058] This embodiment provides a method for testing an automotive controller by using a circuit for simulating a two-wire Hall sensor signal, including the following steps:
[0059] Connect the circuit for simulating the two-wire Hall sensor signal described in Embodiment 1 to the input end of the automotive controller as a two-wire Hall sensor;
[0060] Power on the circuit for simulating the two-wire Hall sensor signal;
[0061] According to the frequency of the current signal to be output, calculate the capacitance value of C through the formula f = 1.43 / (RA + RB) * C, and select and conduct a capacitor with a suitable capacitance through the DIP switch SW1; adjust the position of the slider of the potentiometer according to the PWM duty cycle of the two-wire Hall sensor signal to be simulated; select appropriate resistance values of R4 and R5 according to the two currents of the two-wire Hall sensor signal to be debugged.
[0062] Compare whether the output signal of the automotive controller matches the standard output signal, so as to verify whether the various indicators of the automotive controller meet the development requirements.
[0063] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution. The execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0064] The above embodiments are only used to illustrate the design concept and features of the present invention, and the purpose is to enable those skilled in the art to understand the content of the present invention and implement it accordingly. The protection scope of the present invention is not limited to the above embodiments. Therefore, all equivalent changes or modifications made according to the principles and design concepts disclosed by the present invention are within the protection scope of the present invention.
Claims
1. A circuit for simulating the signal of a two-wire Hall sensor, characterized in that: It includes a multivibrator circuit and a constant current modulation circuit; the multivibrator circuit is used to start oscillation when the circuit is powered on and output a PWM signal of an analog two-wire Hall sensor signal; the constant current modulation circuit is used to stabilize the current output by the multivibrator circuit at a certain current value to form a constant current. The multivibrator circuit includes a 555 timer U1, a DIP switch SW1, a second capacitor C2, a third capacitor C3, a fourth capacitor C4, and a fifth capacitor C5; the TRIG pin of the 555 timer U1 is respectively connected to the four input terminals of the DIP switch SW1, and the four output terminals of the DIP switch SW1 corresponding to the four input terminals are respectively connected to one end of the second capacitor C2, one end of the third capacitor C3, one end of the fourth capacitor C4, and one end of the fifth capacitor C5. The other ends of the second capacitor C2, the third capacitor C3, the fourth capacitor C4, and the fifth capacitor C5 are all connected to the power ground GND. The DIP switch SW1 is used to modulate different oscillation frequencies f; the OUT pin of the 555 timer U1 is used to output a PWM signal. It also includes a potentiometer R2, a first resistor R1, a third resistor R3, a first diode D1, and a second diode D2; one end of the first resistor R1 is connected to the power supply terminal VCC and the RST pin, and the other end of the first resistor R1 is connected to one end of the potentiometer R2; one end of the third resistor R3 is connected to the other end of the potentiometer R2, and the other end of the third resistor R3 is connected to the cathode of the second diode D2; the center tap of the potentiometer R2 is connected to the DIS pin of the 555 timer U1, and is used to adjust the duty cycle of the PWM signal by adjusting the position of the slider. The anode of the first diode D1 is connected to the DIS pin of the 555 timer U1, and the cathode is connected to the TRIG pin and the THRS pin; the anode of the second diode D2 is connected to the TRIG pin and the THRS pin of the 555 timer U1, and the cathode is connected to the other end of the third resistor R3. The constant current modulation circuit includes a MOSFET Q1, a second triode Q2, a third triode Q3, a fourth resistor R4, a fifth resistor R5, and a sixth resistor R6; the drain of the MOSFET Q1 is connected to one end of the fourth resistor R4, the source of the MOSFET Q1 is connected to the power supply terminal VCC, and the gate of the MOSFET Q1 is connected to the OUT pin of the 555 timer U1; one end of the fifth resistor R5 and the emitter of the second triode Q2 are connected to the power supply terminal VCC; the collector of the third triode Q3 is connected to the other end of the fourth resistor R4, the other end of the fifth resistor R5, and the base of the second triode Q2. The base of the third triode Q3 is connected to the collector of the second triode Q2, and the emitter of the third triode Q3 is the signal output terminal; one end of the sixth resistor R6 is connected to the collector of the second triode Q2, and the other end is connected to the power ground GND.
2. A circuit for simulating an analog two-wire Hall sensor signal according to claim 1, characterized in that: Let \(RP = R1 + R2 + R3\), the sum of the resistance of the center tap of the sliding rheostat \(R2\) to the end in series with the first resistor \(R1\) and the resistance value of the first resistor \(R1\) be \(Ra\), the sum of the resistance of the center tap of the sliding rheostat \(R2\) to the end in series with the third resistor \(R3\) and the resistance value of the third resistor \(R3\) be \(Rb\), and the charging time of the charge-discharge capacitor \(C\) be \(t\). 充 , the discharging time be \(t\). 放 , then the duty cycle \(D\) is: D = t 充 / t 放 = Ra / (Ra + Rb) = Ra / RP, Adjust the potentiometer R2. When the center tap of the potentiometer R2 slides to the end in series with the first resistor R1, D = R1 / RP. When the center tap of the sliding rheostat R2 slides to one end in series with the third resistor R3, D = Ra / (Ra + Rb); The oscillation frequency adjusted by the frequency adjustment circuit is: f = 1.43 / (Ra + Rb) * Ci, where i = 2, 3, 4, 5.
3. A circuit for simulating the signal of a two-wire Hall sensor according to claim 2, characterized in that: When first powered on, the initial potential of the TRIG pin of the 555 timer U1 is at a low level, and the 555 timer U1 is set, so the OUT pin of the 555 timer U1 is at a high level; the charge-discharge capacitor C is charged through Ra and D1, and the corresponding charging time t 充 is: t 充 = 0.7RaC; When the voltage is charged to the threshold level of 2 / 3 VCC, the 555 timer U1 is reset, and the OUT pin turns to a low level. At this time, the charge and discharge capacitor C discharges through D2, Rb, and the discharge tube inside the 555 timer U1, and the discharge time t 放 is as follows: t 放 = 0.7RbC; Then the oscillation period T is: T = t 充 + t 放 。 4. A circuit for simulating the signal of a two-wire Hall sensor according to claim 1, characterized in that: After the power is turned on, the base current of the third triode Q3 causes a collector current to be generated. The emitter current of the third triode Q3 flows through the fourth resistor R4 and generates a voltage drop across the fourth resistor R4; When the voltage drop across the fourth resistor R4 reaches 0.6V, the second triode Q2 is turned on accordingly; the collector current of the second triode Q2 flows through the sixth resistor R6 and shunts the base current of the third triode Q3, so the base current of the third triode Q3 decreases, and the collector current of the third triode Q3 also decreases; Therefore, after the second triode Q2 is turned on, it limits the base current of the third triode Q3, making the output current of the circuit stable at a certain current value, forming a constant current I; the magnitude of the constant current I is determined by the resistance value of the fourth resistor R4 and the voltage Vbe between the base and emitter of the second triode Q2: I = Vbe / R4.
5. A circuit for simulating the signal of a two-wire Hall sensor according to claim 4, characterized in that: The MOSFET Q1, the fourth resistor R4, and the fifth resistor R5 also form an output current adjustment circuit; the output current adjustment circuit is used to output frequency signals of two different currents according to the PWM signal output by the multivibrator circuit to adjust the output current of the two-wire Hall sensor signal: When PWM is at a high level, the MOSFET Q1 is turned off, and the output current is Vbe / R5; When PWM is at a low level, the MOSFET Q1 is turned on, and the output current is Vbe / (R5 / / R4).
6. A circuit for simulating the signal of a two-wire Hall sensor according to claim 5, characterized in that: It further includes a first capacitor C1; the first capacitor C1 is connected in series between the CV pin of the 555 timer U1 and the power ground GND.
7. A method for testing an automotive controller by using the circuit for simulating the signal of a two-wire Hall sensor according to any one of claims 1 to 6, characterized in that: It includes the following steps: Connect the circuit for simulating the two-wire Hall sensor signal to the input end of the vehicle controller as a two-wire Hall sensor; By inputting a frequency control signal to the trigger pin of the multivibrator circuit in the circuit for simulating the two-wire Hall sensor signal, adjusting the slider of the sliding rheostat to adjust the duty cycle control signal input to the discharge pin of the multivibrator circuit, and selecting a suitable impedance for the output end of the multivibrator circuit, so that the circuit for simulating the two-wire Hall sensor signal outputs a Hall sensor signal that meets the requirements; Judge the corresponding relationship between the signal output by the circuit for simulating the two-wire Hall sensor signal and the standard output signal of the vehicle controller, so as to verify whether the various indicators of the vehicle controller meet the development requirements.
8. A computer storage medium, characterized in that: It stores a computer program executable by a computer processor, and the computer program executes the automotive controller testing method as described in claim 7.
Citation Information
Patent Citations
Electric signal conversion circuit for converting PWM signal into direct current voltage signal
CN113938124A
Ozone generator drive circuit
CN210261114U
LED landscape lamp control system with stable stroboflash
CN213880340U