Electronic accelerator pedal sensor circuit with two-way digital signal output

By designing an electronic accelerator pedal sensor circuit with dual digital signal output, and using Hall chips and microcontrollers to output digital signals, the problem of poor anti-interference ability of analog signal output in the prior art is solved, and a more stable and higher reliability signal output is achieved.

CN223030795UActive Publication Date: 2025-06-27ANHUI WOBAFO ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422207799.3
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-09-10
Publication Date
2025-06-27
Estimated Expiration
2034-09-10

AI Technical Summary

Technical Problem

The existing electronic throttle sensor circuit uses analog signal output, with poor anti-interference ability and unstable output signal.

Method used

An electronic accelerator pedal sensor circuit with dual digital signal output is designed, using Hall chip unit, microcontroller unit, CAN communication unit and interface unit. The Hall chip induces the magnetic field changes of the accelerator pedal. After the microcontroller processes it, the digital signal is output, and the CAN communication unit outputs it, and protects it in the interface unit.

Benefits of technology

The anti-interference ability of the circuit and the stability of the output signal are improved, the anti-interference problem of the analog signal is reduced through digital signal output, and the signal reliability is improved through CAN communication and protection circuit.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223030795U_ABST
    Figure CN223030795U_ABST
Patent Text Reader

Abstract

The utility model is applied to the field of automatic control of automobiles, and discloses an electronic accelerator pedal sensor circuit with double-channel digital signal output, when an accelerator pedal moves, a magnet of a sensor is close to or far away from a Hall chip, so that the magnetic field intensity of the magnet is changed, and the accelerator pedal is driven to move. The Hall chip senses the magnetic field intensity change of the magnet and transmits a sensed digital signal to the single-chip microcomputer for processing, the single-chip microcomputer receives and processes the signal and then transmits the signal to the CAN communication circuit for output, and finally the digital signal is output to external equipment through the connector wire harness. And the anti-interference capability of the circuit and the stability of the output signal are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the field of automotive automatic control, and particularly to an electronic throttle pedal sensor circuit with dual-channel digital signal output. Background Art

[0002] At present, most of the automobiles use electronic throttles. By detecting the angle of the throttle pedal depression, two sets of voltage signals are generated and sent to the ECU. The ECU performs arithmetic processing on this information and the data information transmitted from other systems, calculates a control signal, and sends it to the servo motor relay through a circuit. The servo motor drives the throttle actuator to control the driving speed of the vehicle.

[0003] In the prior art, most electronic throttle sensor circuits adopt analog signal output, and the output circuit does not have a protection circuit. The output analog signal has disadvantages such as poor anti-interference ability and unstable output signal, so it needs to be solved urgently. Summary of the Utility Model

[0004] In order to avoid and overcome the technical problems existing in the prior art, the utility model provides an electronic throttle pedal sensor circuit with dual-channel digital signal output. Its output signal is a digital signal, which is used to improve the anti-interference ability of the circuit and the stability of the output signal.

[0005] To achieve the above object, the utility model provides the following technical solutions:

[0006] An electronic throttle pedal sensor circuit with dual-channel digital signal output, comprising a power supply unit, a Hall chip unit, a single-chip microcomputer unit, a CAN communication unit and an interface unit connected in sequence according to the signal transmission direction;

[0007] The power supply unit is connected to an external power supply device to provide a power supply voltage for the entire circuit;

[0008] The Hall chip unit is used to sense the change in the magnetic field intensity of the magnet in the sensor caused by the movement of the throttle pedal to generate different induction signals. The Hall chip U4 in the Hall chip unit includes two Hall circuits to output two induction signals respectively and transmit the induction signals to the single-chip microcomputer unit for processing;

[0009] The single-chip microcomputer unit is used to receive the two induction signals of the Hall chip unit, convert the two induction signals into two digital signals respectively, and then transmit the two digital signals to the CAN communication unit;

[0010] The CAN communication unit is used to receive the two digital signals transmitted by the single-chip microcomputer unit and transmit the digital signals to the interface unit for output. The CAN communication unit includes two CAN communication circuits for processing the two digital signals transmitted by the single-chip microcomputer unit respectively;

[0011] An interface unit, configured to receive the digital signals transmitted by the CAN communication unit and output the digital signals to an external device through a wire harness connector.

[0012] As a further solution of the present utility model: the CAN communication unit includes two CAN circuits, configured to separately perform individual CAN communication outputs on the two induction signals output by the Hall chip unit.

[0013] As a still further solution of the present utility model: the CAN circuit includes a CAN transceiver of model TJA1051T / 3;

[0014] The CAN1_TX signal or CAN2_TX signal output by the single-chip microcomputer U3 is transmitted to the TXD pin of the CAN transceiver;

[0015] The GND pin of the CAN transceiver is grounded;

[0016] The VCC terminal is simultaneously connected to the 5V pin of the CAN transceiver, a power supply filtering circuit, and one end of an electrostatic surge protection device, and the other end of the electrostatic surge protection device is grounded;

[0017] The CAN1_RX signal or CAN2_RX signal output by the single-chip microcomputer U3 is transmitted to the RXD pin of the CAN transceiver;

[0018] The Vio pin of the CAN transceiver is connected to the 3.3V VCC voltage output by the power supply unit through a resistor, then connected to a filtering circuit;

[0019] The CL pin is connected to the low-level input terminal of the common-mode inductor and is connected to one end of a resistor through the low-level output terminal of the common-mode inductor;

[0020] The CH pin is connected to the high-level input terminal of the common-mode inductor and is connected to one end of a resistor through the high-level output terminal of the common-mode inductor;

[0021] The S pin is grounded through a pull-down resistor;

[0022] The high-level output terminal of the common-mode inductor is further connected to one end of an electrostatic surge protection device and a filtering circuit, and outputs a CAN1_P signal or a CAN2_P signal;

[0023] The low-level output terminal of the common-mode inductor is further connected to the other end of the electrostatic surge protection device and a filtering circuit, and outputs a CAN1_N signal or a CAN2_N signal.

[0024] As a still further solution of the present utility model: the Hall chip unit includes a Hall chip U4 of model HAR3900GU, and two Hall circuits are built in the Hall chip U4 so that the Hall chip U4 can output two induction signals externally.

[0025] As a further solution of the present utility model: The SCK1 pin of the Hall chip U4 is used to output the SPI1_SCK signal to the single-chip microcomputer unit;

[0026] The MOSI1 pin is used to output the SPI1_MOSI signal to the single-chip microcomputer unit;

[0027] The WAKE1 pin is left floating;

[0028] The VDD1 pin is used to receive the 3.3V VCC voltage output by the power supply unit to supply power to a circuit built in the Hall chip U4;

[0029] Both the GND1 pin and the TEST1 pin are grounded;

[0030] After the CSN1# pin outputs the SPI1_NSS signal to the single-chip microcomputer unit, it is then connected to the 3.3V VCC voltage output by the power supply unit through the resistor R21;

[0031] A capacitor filter circuit is also connected between the resistor R21 and the 3.3V VCC voltage;

[0032] The MISO1 pin is used to output the SPI1_MISO signal to the single-chip microcomputer unit;

[0033] The SCK2 pin is used to output the SPI2_SCK signal to the single-chip microcomputer unit;

[0034] The MOSI2 pin is used to output the SPI2_MOSI signal to the single-chip microcomputer unit;

[0035] The WAKE2 pin is left floating;

[0036] The VDD2 pin is used to receive the 3.3V VCC voltage output by the power supply unit to supply power to another circuit built in the Hall chip U4;

[0037] Both the GND2 pin and the TEST2 pin are grounded;

[0038] After the CSN2# pin outputs the SPI2_NSS signal to the single-chip microcomputer unit, it is then connected to the 3.3V VCC voltage output by the power supply unit through the resistor R22;

[0039] A capacitor filter circuit is also connected between the resistor R22 and the 3.3V VCC voltage;

[0040] The MISO2 pin is used to output the SPI2_MISO signal to the single-chip microcomputer unit.

[0041] As a further solution of the present utility model: The single-chip microcomputer unit includes a single-chip microcomputer U3 of model STM32G0B1CBT6, and a single-chip microcomputer program burning interface circuit, a crystal oscillator circuit, a power supply monitoring circuit, a reset circuit and a single-chip microcomputer filtering circuit are connected to the single-chip microcomputer U3.

[0042] As a further solution of the present utility model: The PC14_OSC32_IN pin of the single-chip microcomputer U3 is grounded through a resistor R11;

[0043] The PC15_OSC32_OUT pin is grounded through a resistor R12;

[0044] The VREF+ pin is used to output the VREF+ signal to the filtering circuit;

[0045] The VDD / VDDA pin is used to connect to the 3.3V VCC voltage output by the power supply unit;

[0046] The VSS / VSSA pin is grounded;

[0047] The PF0_OSC_IN pin is used for the single-chip microcomputer U3 to output the OSC_IN signal to the crystal oscillator circuit;

[0048] The PF0_OSC_OUT pin is used for the single-chip microcomputer U3 to receive the OSC_OUT signal output by the crystal oscillator circuit;

[0049] The PF2_NRST pin is used to output the nRST signal to the reset circuit;

[0050] The PA1 pin is used to receive the PWR_AD signal output by the power supply monitoring circuit to the single-chip microcomputer U3;

[0051] The PA4 pin is connected to the Hall chip unit through a resistor R16 and is used to input the SPI2_MOSI signal to the single-chip microcomputer U3;

[0052] The PA5 pin is connected to the Hall chip unit through a resistor R17 and is used to input the SPI1_SCK signal to the single-chip microcomputer U3;

[0053] The PA6 pin is connected to the Hall chip unit through a resistor R18 and is used to input the SPI1_MISO signal to the single-chip microcomputer U3;

[0054] The PA7 pin is connected to the Hall chip unit through a resistor R19 and is used to input the SPI1_MOSI signal to the single-chip microcomputer U3;

[0055] The PB0 pin is connected to the Hall chip unit through a resistor R20 and is used to input the SPI1_NSS signal to the single-chip microcomputer U3;

[0056] The PA14_BOOT0 pin is used to output the SWCLK signal to the single-chip microcomputer program burning interface circuit;

[0057] The PA13 pin is used to output the SWDIO signal to the single-chip microcomputer program burning interface circuit;

[0058] The PA12[PA10] pin is used to output the CAN1_TX signal to the CAN communication unit;

[0059] The PA11[PA9] pin is used to output the CAN1_RX signal to the CAN communication unit;

[0060] The PB6 pin is used to output the CAN2_TX signal to the CAN communication unit;

[0061] The PB5 pin is used to output the CAN2_RX signal to the CAN communication unit;

[0062] The PD3 pin receives the SPI2_MISO signal output by the Hall chip unit through the resistor R13;

[0063] The PD1 pin receives the SPI2_SCK signal output by the Hall chip unit through the resistor R14;

[0064] The PD0 pin receives the SPI2_NSS signal output by the Hall chip unit through the resistor R15;

[0065] The remaining pins of the single-chip microcomputer U3 are all floating;

[0066] Crystal oscillator circuit:

[0067] The OSC_IN signal output by the single-chip microcomputer U3 is sent into one end of the crystal oscillator CRY1. At the same time, one end of the crystal oscillator CRY1 is grounded through the capacitor C9;

[0068] The OSC_OUT signal output by the other end of the crystal oscillator CRY1 is sent into the single-chip microcomputer U3. At the same time, the other end of the crystal oscillator CRY1 is grounded through the capacitor C10;

[0069] The OSC_IN signal and the OSC_OUT signal are the input signal and output signal of the external high-speed crystal oscillator on the STM32 single-chip microcomputer, which are used to connect the crystal oscillator CRY1 to provide an accurate clock signal for the single-chip microcomputer U3;

[0070] Power supply monitoring circuit:

[0071] The POWER_IN signal output by the power supply unit enters the power supply monitoring circuit. After passing through the resistor R5, it is then connected to one end of the resistor R6 and one end of the capacitor C11 in sequence according to the signal transmission direction, and then outputs the PWR_AD signal to the unit machine U3;

[0072] The other end of resistor R6 and the other end of capacitor C11 are both grounded;

[0073] MCU program burning interface circuit:

[0074] It includes four identical interfaces J1 - J4, and each interface has only one pin;

[0075] Among them, the pin 1 of J1 is used to receive the 3.3V VCC voltage output by the power supply unit;

[0076] After the pin 1 of J2 receives the SWDIO signal output by MCU U3, it is connected to the 3.3V VCC voltage through resistor R7;

[0077] The 3.3V VCC voltage is grounded successively through resistor R8 and resistor R9;

[0078] After the pin 1 of J3 receives the SWCLK signal output by MCU U3, it is connected between resistor R8 and resistor R9;

[0079] The pin 1 of J4 is grounded;

[0080] Reset circuit:

[0081] The 3.3V VCC voltage is connected to resistor R10 and capacitor C12 in sequence and then grounded. The nRST signal output by MCU U3 is connected between resistor R10 and capacitor C12;

[0082] MCU filtering circuit:

[0083] After the 3.3V VCC voltage output by the power supply unit enters the MCU filtering circuit, it is connected to one end of capacitor C16, one end of capacitor C15, one end of capacitor C14, and one end of capacitor C13 simultaneously. The other end of capacitor C13 is grounded separately;

[0084] The 3.3V VCC voltage is also connected to one end of capacitor C17 and one end of capacitor C18 simultaneously, then connected to one end of capacitor C19 through bead FB1, and finally connected to one end of capacitor C20 after receiving the VREF + signal output by MCU U3;

[0085] The other ends of capacitor C14, capacitor C15, capacitor C16, capacitor C17, capacitor C18, capacitor C19, and capacitor C20 are connected in parallel and then grounded.

[0086] As a further solution of the present utility model: The power supply unit includes a DC - DC power chip U1 of model LM5009 and a linear voltage regulator U2 of model LP2981A.

[0087] As a further solution of the present utility model: The POWIN signal transmitted by the interface unit to the power supply unit is respectively connected to one end of the TVS tube T1 and the positive electrode of the anti-reverse diode D1 along the signal transmission direction. After the negative electrode of the anti-reverse diode D1 is simultaneously connected to one end of the filter capacitor C1 and outputs the POWER_IN signal to the single-chip microcomputer unit, it is respectively connected to one end of the filter capacitor C2, one end of the resistor R1, and the VIN pin of the DC-DC power supply chip U1;

[0088] The RON / SD pin of the DC-DC power supply chip U1 is connected to the other end of the resistor R1;

[0089] The other end of the TVS tube is connected to the other end of the filter capacitor C1, the other end of the filter capacitor C2, and the RIN pin. The other end of the filter capacitor C2 is also grounded;

[0090] The VCC pin is connected to the decoupling capacitor C3 and then grounded;

[0091] The RCL pin is connected to the current-limiting resistor R2 and then grounded;

[0092] The SW pin is simultaneously connected to the negative electrode of the diode D2 and one end of the bootstrap capacitor C4, and then connected to one end of the resistor R3, one end of the filter capacitor C5, the VCC terminal, and the Vin pin of the linear voltage regulator U2 through the common-mode inductor L1;

[0093] The other end of the resistor R3 is connected in series with one end of the resistor R4, and the other end of the resistor R4 is grounded;

[0094] The resistors R3 and R4 serve as a series voltage divider for adjusting the output voltage of the DC-DC power supply chip U1;

[0095] After the other end of the filter capacitor C5 passes between the other end of the resistor R4 and the ground terminal, it is connected to the positive electrode of the diode D2;

[0096] The FB pin of the DC-DC power supply chip U1 is connected between the resistors R3 and R4;

[0097] The BST pin of the DC-DC power supply chip U1 is connected to the other end of the bootstrap capacitor C4;

[0098] The VCC terminal is grounded through the filter capacitor C6, and the ON / OFF pin of the linear regulator U2 is connected between the VCC terminal and the filter capacitor C6;

[0099] The filter capacitor C6 is the power filter capacitor for the linear regulator U2;

[0100] The GND pin of the linear regulator U2 is directly grounded;

[0101] The NC pin of the linear regulator U2 is left floating;

[0102] The OUT pin of the linear stabilizer U2 is sequentially connected to one end of the filter capacitor C7 and one end of the filter capacitor C8 in the signal transmission direction, and then outputs the VCC voltage of 3.3V.

[0103] The other ends of the filter capacitor C7 and the filter capacitor C8 are both grounded.

[0104] As a further solution of the present utility model: The interface unit includes a wire harness connector SIP, which is used to output digital signals for controlling the electronic throttle externally and receive the voltage input from an external power supply.

[0105] The 1 interface of the wire harness connector SIP is used to receive the CAN1_P signal output by the first CAN circuit.

[0106] The 2 interface is used to receive the CAN1_N signal output by the first CAN circuit.

[0107] The 3 interface is used to receive the CAN2_P signal output by the second CAN circuit.

[0108] The 4 interface is used to receive the CAN2_N signal output by the second CAN circuit.

[0109] The 5 interface is grounded.

[0110] The 6 interface is used to connect to an external power supply and output the POWIN signal to the power supply unit.

[0111] Compared with the prior art, the beneficial effects of the present utility model are as follows:

[0112] 1. The present utility model provides an electronic throttle pedal sensor circuit with dual-channel digital signal output, and its output signal is a digital signal, which is used to improve the anti-interference ability of the circuit and the stability of the output signal.

[0113] 2. The output of the present utility model uses a CAN communication circuit for output, which has the advantages of high reliability, high performance, strong anti-electromagnetic interference ability, etc. At the same time, a protection circuit is made in the CAN output interface circuit, and common-mode inductors, filter capacitors, TVS tube protection devices are used to protect the circuit to prevent the output signal from being interfered and resulting in unstable output.

[0114] 3. The input part of the power supply unit of the present utility model adopts a wide voltage range input in design, which can better meet different market demands. A protection circuit is added at the input interface of the power supply circuit to prevent electrostatic surges from damaging the subsequent circuit.

[0115] 4. The power supply unit of the present utility model uses an output-adjustable DC-DC buck regulator and an LDO linear stabilizer, so that the power supply circuit has high efficiency and good output voltage ripple and noise.

[0116] 5. The Hall chip unit of the present utility model uses the Hall chip HAR3900GU. By means of the two-way induction signals of the Hall chip unit, the change of the magnetic field of the magnet is sensed. The two-way induction signals are independent of each other, thereby improving the anti-interference ability of the circuit. The signals sensed by the Hall chip are transmitted to the single-chip microcomputer for processing, and the processed signals are transmitted to the CAN communication unit. Finally, they are output to external devices through the wire harness connector of the interface unit.

[0117] 6. The present utility model uses the single-chip microcomputer unit to make the performance of the sensor stable and improve the reliability of the circuit.

[0118] 7. The present utility model is connected to external devices by means of the interface unit. The finally output digital signals are transmitted to the electronic controller through the wire harness connector, and the wire harness connector is used to connect to the external power supply device to supply power to the entire circuit. Description of the Drawings

[0119] Figure 1 It is a schematic flow diagram of the present utility model.

[0120] Figure 2 It is a circuit diagram of the power supply unit in the present utility model.

[0121] Figure 3 It is a circuit diagram of the Hall chip unit in the present utility model.

[0122] Figure 4 It is a circuit diagram of the single-chip microcomputer in the single-chip microcomputer unit of the present utility model.

[0123] Figure 5 It is a circuit diagram of the crystal oscillator circuit in the single-chip microcomputer unit of the present utility model.

[0124] Figure 6 It is a circuit diagram of the power supply monitoring circuit in the single-chip microcomputer unit of the present utility model.

[0125] Figure 7 It is a circuit diagram of the single-chip microcomputer programming interface in the single-chip microcomputer unit of the present utility model.

[0126] Figure 8 It is a circuit diagram of the reset circuit in the single-chip microcomputer unit of the present utility model.

[0127] Figure 9 It is a circuit diagram of the single-chip microcomputer filtering circuit in the single-chip microcomputer unit of the present utility model.

[0128] Figure 10 It is a circuit diagram of the CAN communication unit in the present utility model.

[0129] Figure 11 It is a circuit diagram of the interface unit in the present utility model. Detailed Embodiments

[0130] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0131] Please refer to Figures 1 - 11 , in the embodiments of the present invention, an electronic throttle pedal sensor circuit with dual-channel digital signal output includes a power supply unit, a Hall chip unit, a single-chip microcomputer unit, a CAN communication unit, and an interface unit that are connected in sequence according to the signal transmission direction;

[0132] The power supply unit is connected to an external power supply device and is used to provide a power supply voltage for the entire circuit;

[0133] The Hall chip unit is used to sense the change in the magnetic field strength of the magnet in the sensor caused by the movement of the throttle pedal to generate different induction signals. The Hall chip U4 in the Hall chip unit includes two Hall circuits to respectively output two induction signals and transmit the induction signals to the single-chip microcomputer unit for processing; when the throttle pedal moves, the magnet in the sensor will approach or move away from the Hall chip U4, thereby changing the magnetic field strength of the magnet so that the induction signals generated by the Hall chip U4 are different;

[0134] The single-chip microcomputer unit is used to receive the two induction signals of the Hall chip unit, convert the two induction signals into two digital signals respectively, and then transmit the two digital signals to the CAN communication unit;

[0135] The CAN communication unit is used to receive the two digital signals transmitted by the single-chip microcomputer unit and transmit the digital signals to the interface unit for output. The CAN communication unit includes two CAN communication circuits for respectively processing the two digital signals transmitted by the single-chip microcomputer unit;

[0136] The interface unit is used to receive the digital signals transmitted by the CAN communication unit and output the digital signals to an external device through a wire harness connector.

[0137] Refer to Figure 2 :

[0138] The power supply unit includes a DC-DC power chip U1 of model LM5009 and a linear regulator U2 of model LP2981A. The DC-DC power chip U1 provides a wide input voltage range of 9.5V - 95V for the power supply unit, which can better adapt to different input voltage situations to suit different application scenarios. The DC-DC power chip U1 and the linear regulator U2 cooperate to implement a buck circuit with a simple circuit structure, small output current fluctuation, and wide application range.

[0139] Among them, along the signal transmission direction, the POWIN signal is connected to one end of the TVS tube T1 and the positive electrode of the reverse protection diode D1 respectively. After that, the negative electrode of the reverse protection diode D1 is simultaneously connected to one end of the filter capacitor C1, and after outputting the POWER_IN signal to the single-chip microcomputer unit, it is respectively connected to one end of the filter capacitor C2, one end of the resistor R1, and the VIN pin of the DC-DC power chip U1. The reverse protection diode D1 is used to protect the circuit from breakdown.

[0140] The RON / SD pin of the DC-DC power chip U1 is connected to the other end of the resistor R1.

[0141] The other end of the TVS tube T1 is connected to the other ends of the filter capacitor C1, the filter capacitor C2, and the RIN pin. The other end of the filter capacitor C2 is also grounded. The TVS tube T1 is used to prevent damage to the subsequent circuit caused by the instantaneous voltage impact at the power input port to protect the circuit.

[0142] The VCC pin is connected to the decoupling capacitor C3 and then grounded. The decoupling capacitor C3 can effectively absorb the transient current in the circuit to stabilize the output voltage.

[0143] The RCL pin is connected to the current-limiting resistor R2 and then grounded.

[0144] The SW pin is simultaneously connected to the negative electrode of the diode D2 and one end of the bootstrap capacitor C4, and then connected to one end of the resistor R3, one end of the filter capacitor C5, the VCC terminal, and the Vin pin of the linear regulator U2 through the common-mode inductor L1.

[0145] The other end of the resistor R3 is connected in series with one end of the resistor R4, and the other end of the resistor R4 is grounded.

[0146] The resistors R3 and R4 serve as a series voltage divider to adjust the output voltage of the DC-DC power chip U1.

[0147] After the other end of the filter capacitor C5 passes between the other end of the resistor R4 and the ground terminal, it is then connected to the positive electrode of the diode D2.

[0148] The FB pin of the DC-DC power chip U1 is connected between the resistors R3 and R4.

[0149] The BST pin of the DC-DC power chip U1 is connected to the other end of the bootstrap capacitor C4.

[0150] The VCC terminal is grounded after passing through the filter capacitor C6. The ON / OFF pin of the linear regulator U2 is connected between the VCC terminal and the filter capacitor C6.

[0151] The filter capacitor C6 is the power filter capacitor of the linear regulator U2, making the power input of the linear regulator U2 more stable.

[0152] The GND pin of the linear regulator U2 is directly grounded.

[0153] The NC pin of the linear regulator U2 is left floating.

[0154] The OUT pin of the linear regulator U2 is connected to one end of the filter capacitor C7 and one end of the filter capacitor C8 in sequence according to the signal transmission direction, and then outputs a 3.3V VCC voltage.

[0155] The other ends of the filter capacitor C7 and the filter capacitor C8 are both grounded. The filter capacitor C7 and the filter capacitor C8 are the filter capacitors for the output voltage, making the output voltage more stable.

[0156] Refer to Figure 3 :

[0157] The Hall chip unit includes a Hall chip U4 of model HAR3900GU. The Hall chip U4 has two built-in Hall circuits, enabling the Hall chip U4 to output two induction signals. And the Hall chip U4 is a digital quantity chip to output digital signals. Digital signals have stronger anti-interference ability compared to analog signals, and there is no need to convert analog signals to digital signals during transmission, reducing production costs and circuit complexity.

[0158] Among them, the SCK1 pin of the Hall chip U4 is used to output the SPI1_SCK signal to the single-chip microcomputer unit.

[0159] The MOSI1 pin is used to output the SPI1_MOSI signal to the single-chip microcomputer unit.

[0160] The WAKE1 pin is left floating.

[0161] The VDD1 pin is used to receive the 3.3V VCC voltage output by the power supply unit to supply power to one circuit built in the Hall chip U4.

[0162] The GND1 pin and the TEST1 pin are both grounded.

[0163] The CSN1# pin is used to output the SPI1_NSS signal to the single-chip microcomputer unit and then connected to the 3.3V VCC voltage output by the power supply unit through the resistor R21.

[0164] There is also a capacitor filter circuit connected between the resistor R21 and the 3.3V VCC voltage. The capacitor filter circuit includes a capacitor C21 grounded.

[0165] The MISO1 pin is used to output the SPI1_MISO signal to the single-chip microcomputer unit.

[0166] The SCK2 pin is used to output the SPI2_SCK signal to the single-chip microcomputer unit;

[0167] The MOSI2 pin is used to output the SPI2_MOSI signal to the single-chip microcomputer unit;

[0168] The WAKE2 pin is left floating;

[0169] The VDD2 pin is used to receive the 3.3V VCC voltage output by the power supply unit to supply power to another circuit built in the Hall chip U4;

[0170] Both the GND2 pin and the TEST2 pin are grounded;

[0171] After the CSN2# pin outputs the SPI2_NSS signal to the single-chip microcomputer unit, it is then connected to the 3.3V VCC voltage output by the power supply unit through the resistor R22;

[0172] There is also a capacitor filter circuit connected between the resistor R22 and the 3.3V VCC voltage. The capacitor filter circuit includes a capacitor C21 grounded;

[0173] The MISO2 pin is used to output the SPI2_MISO signal to the single-chip microcomputer unit.

[0174] Refer to Figures 4 - 9 :

[0175] The single-chip microcomputer unit includes a single-chip microcomputer U3 of model STM32G0B1CBT6. A single-chip microcomputer program burning interface circuit, a crystal oscillator circuit, a power supply monitoring circuit, a reset circuit, and a single-chip microcomputer filter circuit are connected to the single-chip microcomputer U3; the angle signal collected by the Hall chip U4, that is, the induction signal, is transmitted to the single-chip microcomputer U3 for processing through SPI communication. Using the single-chip microcomputer U3 makes the sensor performance more stable and the reliability improved.

[0176] Among them, the PC14_OSC32_IN pin is grounded through the resistor R11;

[0177] The PC15_OSC32_OUT pin is grounded through the resistor R12;

[0178] The VREF+ pin is used to output the VREF+ signal to the filter circuit, making the working power supply of the single-chip microcomputer U3 more stable and ensuring the normal operation of the single-chip microcomputer U3;

[0179] The VDD / VDDA pin is used to connect to the 3.3V VCC voltage output by the power supply unit to supply power to the microcontroller U3;

[0180] The VSS / VSSA pin is grounded;

[0181] The PF0_OSC_IN pin is used for the microcontroller U3 to output the OSC_IN signal to the crystal oscillator circuit;

[0182] The PF0_OSC_OUT pin is used for the microcontroller U3 to receive the OSC_OUT signal output by the crystal oscillator circuit;

[0183] The crystal oscillator circuit is used to provide an accurate clock input signal to the microcontroller U3;

[0184] The PF2_NRST pin is used to output the nRST signal to the reset circuit;

[0185] The PA1 pin is used to receive the PWR_AD signal output by the power supply monitoring circuit to the microcontroller U3;

[0186] The PA4 pin is connected to the Hall chip unit through the resistor R16 and is used to input the SPI2_MOSI signal to the microcontroller U3;

[0187] The PA5 pin is connected to the Hall chip unit through the resistor R17 and is used to input the SPI1_SCK signal to the microcontroller U3;

[0188] The PA6 pin is connected to the Hall chip unit through the resistor R18 and is used to input the SPI1_MISO signal to the microcontroller U3;

[0189] The PA7 pin is connected to the Hall chip unit through the resistor R19 and is used to input the SPI1_MOSI signal to the microcontroller U3;

[0190] The PB0 pin is connected to the Hall chip unit through the resistor R20 and is used to input the SPI1_NSS signal to the microcontroller U3;

[0191] The PA14_BOOT0 pin is used to output the SWCLK signal to the microcontroller program burning interface circuit;

[0192] The PA13 pin is used to output the SWDIO signal to the microcontroller program burning interface circuit;

[0193] The PA12[PA10] pin is used to output the CAN1_TX signal to the CAN communication unit;

[0194] The PA11[PA9] pin is used to output the CAN1_RX signal to the CAN communication unit;

[0195] The PB6 pin is used to output the CAN2_TX signal to the CAN communication unit;

[0196] The PB5 pin is used to output the CAN2_RX signal to the CAN communication unit;

[0197] The PD3 pin receives the SPI2_MISO signal output by the Hall chip unit through the resistor R13;

[0198] The PD1 pin receives the SPI2_SCK signal output by the Hall chip unit through the resistor R14;

[0199] The PD0 pin receives the SPI2_NSS signal output by the Hall chip unit through the resistor R15;

[0200] The remaining pins of the microcontroller U3 are left floating.

[0201] Crystal oscillator circuit:

[0202] The OSC_IN signal output by the microcontroller U3 is fed into one end of the crystal oscillator CRY1. At the same time, one end of the crystal oscillator CRY1 is grounded through the capacitor C9;

[0203] The OSC_OUT signal output by the other end of the crystal oscillator CRY1 is fed into the microcontroller U3. At the same time, the other end of the crystal oscillator CRY1 is grounded through the capacitor C10;

[0204] The OSC_IN signal and the OSC_OUT signal are the input signal and output signal of the external high-speed crystal oscillator on the STM32 microcontroller, and are used to connect the crystal oscillator CRY1 to provide an accurate clock signal to the microcontroller U3.

[0205] Power supply monitoring circuit:

[0206] The POWER_IN signal output by the power supply unit enters the power supply monitoring circuit. After passing through the resistor R5, it is then connected to one end of the resistor R6 and one end of the capacitor C11 in sequence according to the signal transmission direction, and outputs the PWR_AD signal to the unit machine U3;

[0207] The other end of the resistor R6 and the other end of the capacitor C11 are both grounded.

[0208] The microcontroller unit uses the power supply monitoring circuit to collect the input port voltage, that is, the POWER_IN signal, to monitor the power supply voltage, that is, the PWR_AD signal, to prevent the microcontroller U3 from malfunctioning due to too high or too low voltage.

[0209] Microcontroller program burning interface circuit:

[0210] It includes four identical interfaces J1 - J4, and each interface has only 1 pin.

[0211] Among them, the pin 1 of J1 is used to receive the 3.3V VCC voltage output by the power supply unit;

[0212] After the pin 1 of J2 receives the SWDIO signal output by the single-chip microcomputer U3, it is connected to the 3.3V VCC voltage through the resistor R7;

[0213] The 3.3V VCC voltage is grounded successively through the resistor R8 and the resistor R9;

[0214] After the pin 1 of J3 receives the SWCLK signal output by the single-chip microcomputer U3, it is connected between the resistor R8 and the resistor R9;

[0215] The pin 1 of J4 is grounded.

[0216] Reset circuit:

[0217] The 3.3V VCC voltage is connected to the resistor R10 and the capacitor C12 in sequence and then grounded. The nRST signal output by the single-chip microcomputer U3 is connected between the resistor R10 and the capacitor C12; the resistor R10 is a pull-up resistor, and the capacitor C12 is a filtering capacitor. The high-level state of the nRST signal indicates that the single-chip microcomputer U3 is in the normal working state and no reset operation is triggered; when it is necessary to reset the single-chip microcomputer U3, the reset operation can be triggered by pulling the nRST signal low.

[0218] Single-chip microcomputer filtering circuit:

[0219] After the 3.3V VCC voltage output by the power supply unit enters the single-chip microcomputer filtering circuit, it is connected to one end of the capacitor C16, one end of the capacitor C15, one end of the capacitor C14, and one end of the capacitor C13 at the same time, and the other end of the capacitor C13 is grounded separately.

[0220] The 3.3V VCC voltage is also connected to one end of the capacitor C17 and one end of the capacitor C18 at the same time, then connected to one end of the capacitor C19 after passing through the bead FB1, and finally connected to one end of the capacitor C20 after receiving the VREF+ signal output by the single-chip microcomputer U3;

[0221] The other ends of the capacitor C14, the capacitor C15, the capacitor C16, the capacitor C17, the capacitor C18, the capacitor C19, and the capacitor C20 are connected in parallel and then grounded.

[0222] The single-chip microcomputer filtering circuit uses the method of multiple capacitors connected in parallel for filtering, making the working power supply of the single-chip microcomputer U3 more stable and enabling the single-chip microcomputer U3 to operate normally.

[0223] Refer to Figure 10 :

[0224] The CAN communication unit includes a first CAN circuit and a second CAN circuit, which are used to perform separate communication outputs on the two induction signals output by the Hall chip unit; an electrostatic surge protection device composed of TVS tubes, combined with a common-mode inductor and filter capacitors, is used to prevent the output signal from being unstable due to interference, making the circuit of the CAN communication unit have the advantages of high reliability, high performance, and strong anti-electromagnetic interference ability.

[0225] Among them, the first CAN circuit includes a CAN transceiver U5 with the model number TJA1051T / 3;

[0226] The CAN1_TX signal output by the single-chip microcomputer U3 is sent to the TXD pin of the CAN transceiver U5;

[0227] The GND pin of the CAN transceiver U5 is grounded;

[0228] The VCC terminal is connected to the 5V pin of the CAN transceiver U5 and a power supply filtering circuit including a capacitor C26 at the same time;

[0229] The CAN1_RX signal output by the single-chip microcomputer U3 is sent to the RXD pin of the CAN transceiver U5;

[0230] The Vio pin of the CAN transceiver U5 is connected to the 3.3V VCC voltage output by the power supply unit through a resistor R26 and then a filtering circuit including a capacitor C25;

[0231] The CL pin is connected to the low-level input terminal of the common-mode inductor L2, and is connected to one end of a resistor R24 through the low-level output terminal of the common-mode inductor L2;

[0232] The CH pin is connected to the high-level input terminal of the common-mode inductor L2, and is connected to one end of a resistor R23 through the high-level output terminal of the common-mode inductor L2. The common-mode inductor L2 is used to filter and attenuate common-mode electromagnetic interference signals, improve the quality of the output signal, suppress the electromagnetic radiation generated by high-speed signal lines, protect the circuit from interference, and solve the signal integrity problem;

[0233] The S pin is grounded through a pull-down resistor R25;

[0234] The other end of the resistor R23 is connected to the other end of the resistor R24. The resistors R23 and R24 are CAN bus terminal resistors, which are used to improve the anti-interference ability of the circuit, allow high-frequency and low-energy signals to quickly go away, ensure that the CAN bus quickly enters the invisible state, so that the energy of the parasitic capacitance can go away faster, and at the same time improve the quality of the output signal. The resistors R23 and R24 are placed at both ends of the CAN bus to reduce the reflected energy;

[0235] The high-level output terminal of the common-mode inductor L2 is also connected to one end of the electrostatic surge protection device D3 and a filter circuit including the capacitor C22, and outputs the CAN1_P signal;

[0236] The low-level output terminal of the common-mode inductor L2 is also connected to the other end of the electrostatic surge protection device D3 and a filter circuit including the capacitor C23, and outputs the CAN1_N signal;

[0237] The capacitors C22, C23, and C24 are all filter capacitors, making the output signal of the first CAN circuit more stable;

[0238] The electrostatic surge protection device D3 is composed of two series-connected TVS tubes, and the ground is connected between the two TVS tubes; the electrostatic surge protection device D3 enables the output CAN1_P signal and CAN1_N signal to be free from surge electrostatic interference and can be output normally and stably.

[0239] The second CAN circuit includes a CAN transceiver U6 of model TJA1051T / 3;

[0240] The CAN2_TX signal output by the single-chip microcomputer U3 is sent to the TXD pin of the CAN transceiver U6;

[0241] The GND pin of the CAN transceiver U6 is grounded;

[0242] The VCC terminal is simultaneously connected to the 5V pin of the CAN transceiver U6, a power supply filter circuit including the capacitor C31, and one end of the electrostatic surge protection device D5. The other end of the electrostatic surge protection device D5 is grounded; the electrostatic surge protection device D5 includes a TVS tube;

[0243] The first CAN circuit and the second CAN circuit are set on the same grid of the PCB board. Therefore, only one electrostatic surge protection device D5 needs to be set, which saves production costs more; both the first CAN circuit and the second CAN circuit can prevent the damage of the subsequent circuit caused by the instantaneous impact of VCC to achieve the function of protecting the circuit. In other embodiments, the electrostatic surge protection device D5 can also be set on the first CAN circuit;

[0244] The CAN2_RX signal output by the single-chip microcomputer U3 is sent to the RXD pin of the CAN transceiver U6;

[0245] The Vio pin of the CAN transceiver U6 is connected to the 3.3V VCC voltage output by the power supply unit through the resistor R30 and then connected to a filter circuit including the capacitor C30;

[0246] The CL pin is connected to the low-level input terminal of the common-mode inductor L3 and is connected to one end of the resistor R28 through the low-level output terminal of the common-mode inductor L3;

[0247] The CH pin is connected to the high-level input terminal of the common-mode inductor L3, and is connected to one end of the resistor R27 through the high-level output terminal of the common-mode inductor L3. The common-mode inductor L3 is used to filter and attenuate the common-mode electromagnetic interference signals, improve the quality of the output signals, suppress the electromagnetic radiation generated by the high-speed signal lines, protect the circuit from interference, and solve the signal integrity problem;

[0248] The S pin is grounded through the pull-down resistor R29;

[0249] The other end of the resistor R27 is connected to the other end of the resistor R28. The resistors R27 and R28 are CAN bus termination resistors, which are used for the anti-interference ability of the circuit, allowing the high-frequency and low-energy signals to quickly go away, ensuring that the CAN bus quickly enters the invisible state, so that the energy of the parasitic capacitance can go away faster, and at the same time improving the quality of the output signals. The resistors R27 and R28 are placed at both ends of the CAN bus to reduce the reflected energy;

[0250] The high-level output terminal of the common-mode inductor L3 is also connected to one end of the electrostatic surge protection device D4 and a filter circuit including the capacitor C27, and outputs the CAN2_P signal;

[0251] The low-level output terminal of the common-mode inductor L3 is also connected to the other end of the electrostatic surge protection device D4 and a filter circuit including the capacitor C28, and outputs the CAN2_N signal;

[0252] The capacitors C27, C28 and C29 are all filter capacitors, making the output signals of the second CAN circuit more stable;

[0253] The electrostatic surge protection device D4 is composed of two series-connected TVS tubes, and the ground is connected between the two TVS tubes; the electrostatic surge protection device D4 protects the output CAN2_P signal and CAN2_N signal from surge electrostatic interference and can output normally and stably.

[0254] Refer to Figure 11 :

[0255] The interface unit includes a wire harness connector SIP. The wire harness connector SIP contains 6 pins, which are 6 connection interfaces. The wire harness connector SIP forms the terminal connector of the sensor and is used to connect to external devices to ensure the effective transmission of power signals and data between various electrical devices, thus ensuring the normal operation of the entire system;

[0256] The 1 interface of the wire harness connector SIP is used to receive the CAN1_P signal output by the first CAN circuit;

[0257] The 2 interface of the wire harness connector SIP is used to receive the CAN1_N signal output by the first CAN circuit;

[0258] The 3 - interface of the wire harness connector SIP is used to receive the CAN2_P signal output by the second CAN circuit;

[0259] The 4 - interface of the wire harness connector SIP is used to receive the CAN2_N signal output by the second CAN circuit;

[0260] The 5 - interface of the wire harness connector SIP is grounded;

[0261] The 6 - interface of the wire harness connector SIP is used to connect to an external power supply and output the POWIN signal from the power supply unit.

[0262] Through the wire harness connector SIP, the 1 - interface to 4 - interfaces of the sensor device finally output two digital signals to the electronic controller (ECU), and the user can select any one of the two digital signals for use;

[0263] The external power supply delivers the power signal, that is, the POWIN signal, to the power supply unit through the 6 - interface of the wire harness connector SIP to provide the power voltage for the entire circuit.

[0264] Of course, for those skilled in the art, the present utility model is not limited to the details of the above - mentioned exemplary embodiments, but also includes the same or similar structures that can be implemented in other specific forms without departing from the spirit or basic characteristics of the present utility model. Therefore, from any point of view, the embodiments should be regarded as exemplary and non - restrictive. The scope of the present utility model is defined by the appended claims rather than the above description. Therefore, all changes falling within the meaning and scope of the equivalent elements of the claims are intended to be encompassed within the present utility model. Any reference signs in the claims should not be construed as limiting the claimed rights.

[0265] In addition, it should be understood that although this specification is described according to embodiments, not every embodiment only contains an independent technical solution. This narrative way of the specification is only for clarity. Those skilled in the art should regard the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.

[0266] The technologies, shapes, and structures not detailedly described in the present utility model are all well - known technologies.

Claims

1. An electronic accelerator pedal sensor circuit with dual digital signal output, characterized in that: It includes a power supply unit, a Hall chip unit, a single-chip computer unit, a CAN communication unit and an interface unit which are sequentially connected according to the signal transmission direction; The power supply unit is connected to an external power supply device to provide power supply voltage to the entire circuit; The Hall chip unit is used to sense the change in the magnetic field strength of the magnet in the sensor caused by the movement of the accelerator pedal and generate different sensing signals. The Hall chip U4 in the Hall chip unit includes two Hall circuits to output two sensing signals respectively and transmit the sensing signals to the single-chip microcomputer unit for processing; The single-chip microcomputer unit is used to receive the two-way sensing signals of the Hall chip unit and convert the two-way sensing signals into two-way digital signals respectively, and then transmit the two-way digital signals to the CAN communication unit; The CAN communication unit is used to receive two digital signals transmitted by the single-chip unit and transmit the digital signals to the interface unit for output. The CAN communication unit includes two CAN communication circuits for respectively processing the two digital signals transmitted by the single-chip unit. The interface unit is used to receive the digital signal transmitted by the CAN communication unit and output the digital signal to the external device through the wiring harness connector.

2. The electronic accelerator pedal sensor circuit with dual-channel digital signal output according to claim 1, characterized in that: The CAN communication unit includes two CAN circuits, which are used to perform separate CAN communication outputs on the two sensing signals output by the Hall chip unit.

3. The electronic accelerator pedal sensor circuit with dual-channel digital signal output according to claim 2, characterized in that: The CAN circuit includes a CAN transceiver of model TJA1051T / 3; The CAN1_TX signal or CAN2_TX signal output by the microcontroller U3 is transmitted to the TXD pin of the CAN transceiver; The GND pin of the CAN transceiver is grounded; The VCC terminal is simultaneously connected to the 5V pin of the CAN transceiver, the power filter circuit and one end of the electrostatic surge protection device, and the other end of the electrostatic surge protection device is grounded; The CAN1_RX signal or CAN2_RX signal output by the microcontroller U3 is transmitted to the RXD pin of the CAN transceiver; The Vio pin of the CAN transceiver passes through a resistor, then connects to the filter circuit and the 3.3V VCC voltage output by the power supply unit; The CL pin is connected to the low level input end of the common mode inductor, and is connected to one end of the resistor through the low level output end of the common mode inductor; The CH pin is connected to the high level input end of the common mode inductor, and is connected to one end of the resistor through the high level output end of the common mode inductor; The S pin is grounded through a pull-down resistor; The high-level output end of the common-mode inductor is also connected to one end of the electrostatic surge protection device and the filter circuit, and outputs a CAN1_P signal or a CAN2_P signal; The low-level output end of the common-mode inductor is also connected to the other end of the electrostatic surge protection device and the filter circuit, and outputs a CAN1_N signal or a CAN2_N signal.

4. The electronic accelerator pedal sensor circuit with dual-channel digital signal output according to claim 1, characterized in that: The Hall chip unit includes a Hall chip U4 of model HAR3900GU. The Hall chip U4 has two built-in Hall circuits, so that the Hall chip U4 can output two sensing signals to the outside.

5. The electronic accelerator pedal sensor circuit with dual-channel digital signal output according to claim 4, characterized in that: The SCK1 pin of the Hall chip U4 is used to output the SPI1_SCK signal to the microcontroller unit; The MOSI1 pin is used to output the SPI1_MOSI signal to the microcontroller unit; The WAKE1 pin is left floating; The VDD1 pin is used to receive the 3.3V VCC voltage output by the power supply unit to power a circuit built into the Hall chip U4; Both GND1 pin and TEST1 pin are grounded; The CSN1# pin is used to output the SPI1_NSS signal to the MCU unit, and then connected to the 3.3V VCC voltage output by the power supply unit through the resistor R21; A capacitor filter circuit is also connected between the resistor R21 and the 3.3V VCC voltage; The MISO1 pin is used to output the SPI1_MISO signal to the microcontroller unit; The SCK2 pin is used to output the SPI2_SCK signal to the microcontroller unit; The MOSI2 pin is used to output the SPI2_MOSI signal to the microcontroller unit; The WAKE2 pin is left floating; The VDD2 pin is used to receive the 3.3V VCC voltage output by the power supply unit to power another circuit built into the Hall chip U4; Both GND2 pin and TEST2 pin are grounded; The CSN2# pin is used to output the SPI2_NSS signal to the MCU unit, and then connected to the 3.3V VCC voltage output by the power supply unit through the resistor R22; A capacitor filter circuit is also connected between the resistor R22 and the 3.3V VCC voltage; The MISO2 pin is used to output the SPI2_MISO signal to the microcontroller unit.

6. The electronic accelerator pedal sensor circuit with dual-channel digital signal output according to claim 1, characterized in that: The single-chip microcomputer unit includes a single-chip microcomputer U3 of model STM32G0B1CBT6, and the single-chip microcomputer U3 is connected with a single-chip microcomputer program burning interface circuit, a crystal oscillator circuit, a power supply monitoring circuit, a reset circuit and a single-chip microcomputer filter circuit.

7. The electronic accelerator pedal sensor circuit with dual-channel digital signal output according to claim 6, characterized in that: The PC14_OSC32_IN pin of the microcontroller U3 is connected to ground through the resistor R11; The PC15_OSC32_OUT pin is connected to the ground through the resistor R12. The VREF+ pin is used to output the VREF+ signal to the filter circuit; The VDD / VDDA pin is used to connect the 3.3V VCC voltage output by the power supply unit; VSS / VSSA pin is grounded; The PF0_OSC_IN pin is used for the microcontroller U3 to output the OSC_IN signal to the crystal oscillator circuit; The PF0_OSC_OUT pin is used for the microcontroller U3 to receive the OSC_OUT signal output by the crystal oscillator circuit; The PF2_NRST pin is used to output the nRST signal to the reset circuit; The PA1 pin is used to receive the PWR_AD signal output by the power monitoring circuit to the microcontroller U3; The PA4 pin is connected to the Hall chip unit through the resistor R16 and is used to input the SPI2_MOSI signal to the microcontroller U3; The PA5 pin is connected to the Hall chip unit through the resistor R17 and is used to input the SPI1_SCK signal to the microcontroller U3; The PA6 pin is connected to the Hall chip unit through the resistor R18 and is used to input the SPI1_MISO signal to the microcontroller U3; The PA7 pin is connected to the Hall chip unit through the resistor R19 and is used to input the SPI1_MOSI signal to the microcontroller U3; The PB0 pin is connected to the Hall chip unit through the resistor R20 and is used to input the SPI1_NSS signal to the microcontroller U3; The PA14_BOOT0 pin is used to output the SWCLK signal to the MCU program burning interface circuit; The PA13 pin is used to output SWDIO signals to the microcontroller program burning interface circuit; The PA12[PA10] pin is used to output the CAN1_TX signal to the CAN communication unit; The PA11[PA9] pin is used to output the CAN1_RX signal to the CAN communication unit; The PB6 pin is used to output the CAN2_TX signal to the CAN communication unit; The PB5 pin is used to output the CAN2_RX signal to the CAN communication unit; The PD3 pin receives the SPI2_MISO signal output by the Hall chip unit through resistor R13; The PD1 pin receives the SPI2_SCK signal output by the Hall chip unit through resistor R14; The PD0 pin receives the SPI2_NSS signal output by the Hall chip unit through resistor R15; The rest of the pins of the microcontroller U3 are left floating; Crystal oscillator circuit: The OSC_IN signal output by the microcontroller U3 is transmitted to one end of the crystal oscillator CRY1, and at the same time, one end of the crystal oscillator CRY1 is grounded after passing through the capacitor C9; The OSC_OUT signal output from the other end of the crystal oscillator CRY1 is transmitted to the microcontroller U3, and the other end of the crystal oscillator CRY1 is grounded after passing through the capacitor C10; The OSC_IN signal and OSC_OUT signal are the input signal and output signal of the external high-speed crystal oscillator on the STM32 microcontroller, which are used to connect the crystal oscillator CRY1 to provide an accurate clock signal to the microcontroller U3; Power supply monitoring circuit: The POWER_IN signal output by the power supply unit enters the power supply monitoring circuit, passes through the resistor R5, and then connects one end of the resistor R6 and one end of the capacitor C11 in sequence according to the signal transmission direction, and then outputs the PWR_AD signal to the unit machine U3; The other end of the resistor R6 and the other end of the capacitor C11 are both grounded; MCU program burning interface circuit: Contains four identical interfaces J1-J4, each interface has only 1 pin; Among them, pin 1 of J1 is used to receive the 3.3V VCC voltage output by the power supply unit; Pin 1 of J2 is used to receive the SWDIO signal output by the microcontroller U3 and is connected to the 3.3V VCC voltage through resistor R7; The 3.3V VCC voltage passes through resistors R8 and R9 in turn and then goes to ground; After receiving the SWCLK signal output by the microcontroller U3, the pin 1 of J3 is connected between the resistor R8 and the resistor R9; Pin 1 of J4 is connected to ground; Reset circuit: The 3.3V VCC voltage is connected to the resistor R10 and the capacitor C12 in sequence and then grounded. The nRST signal output by the microcontroller U3 is connected between the resistor R10 and the capacitor C12. MCU filter circuit: After the 3.3V VCC voltage output by the power supply unit enters the single-chip microcomputer filter circuit, it is simultaneously connected to one end of capacitor C16, one end of capacitor C15, one end of capacitor C14 and one end of capacitor C13, and the other end of capacitor C13 is grounded alone; The 3.3V VCC voltage is also connected to one end of capacitor C17 and one end of capacitor C18 at the same time, and then connected to one end of capacitor C19 through magnetic bead FB1, and finally connected to one end of capacitor C20 after receiving the VREF+ signal output by microcontroller U3; The other end of capacitor C14, the other end of capacitor C15, the other end of capacitor C16, the other end of capacitor C17, the other end of capacitor C18, the other end of capacitor C19 and the other end of capacitor C20 are connected in parallel and then grounded.

8. The electronic accelerator pedal sensor circuit with dual digital signal output according to claim 1, characterized in that: The power supply unit includes a DC-DC power supply chip U1 of model LM5009 and a linear stabilizer U2 of model LP2981A.

9. The electronic accelerator pedal sensor circuit with dual-channel digital signal output according to claim 8, characterized in that: The POWIN signal transmitted by the interface unit to the power supply unit is connected to one end of the TVS tube T1 and the positive electrode of the anti-reverse diode D1 along the transmission direction of the signal. The negative electrode of the anti-reverse diode D1 is simultaneously connected to one end of the filter capacitor C1 and outputs the POWER_IN signal to the single-chip unit, and then connected to one end of the filter capacitor C2, one end of the resistor R1 and the VIN pin of the DC-DC power supply chip U1; The RON / SD pin of the DC-DC power chip U1 is connected to the other end of the resistor R1; The other end of the TVS tube is connected to the other end of the filter capacitor C1, the other end of the filter capacitor C2 and the RIN pin, and the other end of the filter capacitor C2 is also grounded; The VCC pin is connected to the decoupling capacitor C3 and then grounded; The RCL pin is connected to the current limiting resistor R2 and then grounded; The SW pin is connected to the cathode of the diode D2 and one end of the bootstrap capacitor C4 at the same time, and then connected to one end of the resistor R3, one end of the filter capacitor C5, the VCC terminal and the Vin pin of the linear regulator U2 through the common mode inductor L1; The other end of the resistor R3 is connected in series with one end of the resistor R4, and the other end of the resistor R4 is grounded; Resistors R3 and R4 are used as a series voltage divider to adjust the output voltage of the DC-DC power chip U1; The other end of the filter capacitor C5 passes through the other end of the resistor R4 and the ground terminal, and then is connected to the positive electrode of the diode D2; The FB pin of the DC-DC power supply chip U1 is connected between the resistor R3 and the resistor R4; The BST pin of the DC-DC power chip U1 is connected to the other end of the bootstrap capacitor C4; The VCC terminal is grounded after passing through the filter capacitor C6, and the ON / OFF pin of the linear stabilizer U2 is connected between the VCC terminal and the filter capacitor C6; Filter capacitor C6 is the power filter capacitor of linear stabilizer U2; The GND pin of the linear stabilizer U2 is directly connected to ground; The NC pin of the linear stabilizer U2 is left floating; The OUT pin of the linear stabilizer U2 is connected to one end of the filter capacitor C7 and one end of the filter capacitor C8 in sequence according to the signal transmission direction, and then outputs a 3.3V VCC voltage; The other end of the filter capacitor C7 and the other end of the filter capacitor C8 are both grounded.

10. The electronic accelerator pedal sensor circuit with dual-channel digital signal output according to claim 1, characterized in that: The interface unit includes a wiring harness connector SIP, which is used to output a digital signal for controlling the electronic throttle and receive a voltage input from an external power supply; Interface 1 of the wiring harness connector SIP is used to receive the CAN1_P signal output by the first CAN circuit; Interface 2 is used to receive the CAN1_N signal output by the first CAN circuit; Interface 3 is used to receive the CAN2_P signal output by the second CAN circuit; Interface 4 is used to receive the CAN2_N signal output by the second CAN circuit; 5. Interface grounding; The 6-port interface is used to connect an external power supply and output a POWIN signal to the power supply unit.