VR crankshaft signal generation circuit

By designing a VR crankshaft signal generation circuit and using DAC and op amp technology to output sine wave signals, the problem of waveform distortion in the existing technology is solved, and full-band distortion-free signal output and high-integrity crankshaft signal simulation are achieved.

CN221746466UActive Publication Date: 2024-09-20BEIJING INNOVITCH TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420356128.0
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-02-26
Publication Date
2024-09-20
Estimated Expiration
2034-02-26

AI Technical Summary

Technical Problem

The existing magnetoelectric crankshaft position signal generator will cause waveform distortion in both low and high frequency bands and cannot simulate the real crankshaft signal.

Method used

A VR crankshaft signal generation circuit is designed, including a microcontroller, a DAC sine wave signal output module, an inverting offset operational amplifier output circuit and a differential signal output module. The DAC is used to control the output of the sine wave, and the rail guide operational amplifier is used to generate the sine wave. The signal is offset, and finally a differential output is achieved through a single-ended conversion to a differential operational amplifier.

Benefits of technology

It achieves distortion-free signal in the whole frequency band, wide frequency output range, adjustable signal amplitude, simple structure, low cost and good signal integrity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221746466U
    Figure CN221746466U
Patent Text Reader

Abstract

The utility model provides a VR crankshaft signal generation circuit comprising a single-chip microcomputer used for signal processing; the DAC sine wave signal output module outputs sine wave signals; the anti-phase offset operational amplifier output circuit adopts a rail-guide rail operational amplifier to offset the sine wave signal, and finally realizes differential output through a single-end-to-differential operational amplifier; the positive and negative power supplies are used for boosting and outputting + 15V by utilizing the BOOST of the DCDC power supply and flyback and outputting-15V by utilizing flyback; the differential signal output module is used for outputting a differential signal through a single-end-to-differential operational amplifier after the sine wave is output by the operational amplifier; the DAC sine wave signal output module, the anti-phase offset operational amplifier output circuit, the positive and negative power supply and the differential signal output module are all in communication connection with the single-chip microcomputer. Compared with the prior art, the circuit provided by the utility model has the following beneficial effects that the circuit is wide in frequency output range, adjustable in signal amplitude, undistorted in signal full frequency band, good in signal integrity, simple in structure and low in cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to a VR crankshaft signal generating circuit, belonging to the field of automobile electronics. Background Art

[0002] The crankshaft position sensor is an important part of the engine electronic control system. It is used to calculate the engine speed, ignition advance angle, injection timing, top dead center position, etc. According to different principles, there are currently two main types: Hall type and magnetoelectric type sensors. Most motorcycle systems use magnetoelectric crankshaft position sensors.

[0003] The magnetoelectric crankshaft position sensor, as the name suggests, is implemented using the principle of magnetoelectric induction. It does not require ECU power supply, and the two signal lines output sinusoidal differential signals of equal magnitude and opposite directions.

[0004] Existing magnetoelectric crankshaft position signal generators mostly output sine waves after a square wave passes through a filter. This method of converting square waves to sine waves is limited by the structure of the filter and will cause waveform distortion in both low-frequency and high-frequency bands. Although it can be used normally, it cannot simulate a real crankshaft signal. Utility Model Content

[0005] In view of the deficiencies in the prior art, the utility model aims to provide a VR crankshaft signal generating circuit.

[0006] In order to achieve the above purpose, the utility model is implemented through the following technical solutions:

[0007] A VR crankshaft signal generating circuit comprises a single chip microcomputer, a DAC sine wave signal output module, an inverting offset operational amplifier output circuit, positive and negative power supplies, and a differential signal output module; the DAC sine wave signal output module, the inverting offset operational amplifier output circuit, the positive and negative power supplies, and the differential signal output module are all communicatively connected to the single chip microcomputer.

[0008] Furthermore, the DAC sine wave signal output module includes a timer, a DMA controller and a DAC digital register; the timer, the DMA controller and the DAC digital register are all communicatively connected to the single chip microcomputer.

[0009] Furthermore, the inverting offset op amp output circuit includes an operational amplifier, the output end of the operational amplifier is connected to resistor one, the other end of resistor one is connected to the output voltage, the non-inverting input end of the operational amplifier is connected to one end of resistor two and one end of resistor three, the other end of resistor two is grounded, the other end of resistor three is connected to a power supply, the inverting input end of the operational amplifier is connected to one end of resistor four and one end of resistor five, the other end of resistor four is connected to the input voltage, and the other end of resistor five is connected to one end of resistor one.

[0010] Beneficial effects of the utility model:

[0011] The circuit of the utility model has a wide frequency output range, adjustable signal amplitude, no distortion of the signal in the entire frequency band, good signal integrity, simple structure and low cost.

[0012] The utility model outputs a sine wave through DAC control. Compared with the traditional square wave to sine wave method, the signal output is a sine wave in any frequency band; the sine wave voltage offset circuit design adopts a rail-to-rail operational amplifier to offset the sine wave signal, and finally realizes differential output through a single-ended to differential operational amplifier. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0014] Figure 1 It is a schematic diagram of the structure of a sine wave voltage offset circuit of a VR crankshaft signal generating circuit of the utility model;

[0015] Figure 2 This is a schematic diagram of the sinusoidal wave output law of a VR crankshaft signal generating circuit of the utility model;

[0016] Figure 3 This is a schematic diagram of the program operation of a DAC sine wave signal output module of a VR crankshaft signal generating circuit of the utility model;

[0017] Figure 4 The utility model is a schematic diagram of a sine wave voltage offset circuit simulation effect of a VR crankshaft signal generating circuit. DETAILED DESCRIPTION

[0018] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.

[0019] See also Figure 1The utility model provides a technical solution for a VR crankshaft signal generation circuit, including a single-chip microcomputer, a DAC sine wave signal output module, an inverting offset operational amplifier output circuit, positive and negative power supplies, and a differential signal output module; the DAC sine wave signal output module, the inverting offset operational amplifier output circuit, the positive and negative power supplies, and the differential signal output module are all communicatively connected with the single-chip microcomputer; wherein the single-chip microcomputer is used for signal processing; the DAC sine wave signal output module is used to output a sine wave signal; the inverting offset operational amplifier output circuit adopts a rail-to-rail operational amplifier to offset the sine wave signal, and finally realizes differential output through a single-ended to differential operational amplifier; the positive and negative power supplies are provided by a DCDC power chip, mainly using the BOOST boost output +15V and flyback output -15V of the DCDC power supply; the sine wave signal after the differential signal output module operational amplifier output realizes the output of a differential signal through a single-ended to differential operational amplifier.

[0020] See also Figure 2-3 The DAC sine wave signal output module includes a timer, a DMA controller and a DAC digital register; the timer, the DMA controller and the DAC digital register are all connected to the single-chip microcomputer for communication; wherein the DAC digital register is a 12-bit digital input, when the input reference voltage is 3.3V, the output accuracy of the DAC digital register can be controlled within 2mv, and the principle of the DMA controller outputting a sine wave signal is as follows Figure 2 As shown:

[0021] According to the output law of the sine wave, a DAC digital register is used to output a fixed voltage at regular intervals, commonly known as dotting. The more dots there are, the more accurate the output sine wave waveform is. Considering that as the frequency increases, the more dots there are, the operating rate of the microcontroller will be affected, causing the program to lag and freeze. Therefore, this design uses a timer + DMA controller + DAC digital register. First, the value of the sine wave output is pre-stored in an array. In this way, each time the DAC digital register outputs, only the value of the sine wave array needs to be read, reducing the operation of the sin function and shortening the output time. At the same time, the timer triggers the DMA controller request to move the data to the DAC digital register through DMA; the program flow chart is as follows Figure 3 shown.

[0022] See also Figure 1The inverting offset operational amplifier output circuit includes an operational amplifier, an output end of the operational amplifier is connected to a resistor R53, the other end of the resistor R53 is connected to the output voltage, a non-inverting input end of the operational amplifier is connected to one end of a resistor R51 and one end of a resistor R55, the other end of the resistor R51 is grounded, the other end of the resistor R55 is connected to a power supply, an inverting input end of the operational amplifier is connected to one end of a resistor R48 and one end of a resistor R52, the other end of the resistor R48 is connected to the input voltage, and the other end of the resistor R52 is connected to one end of the resistor R53;

[0023] The DAC sine wave output by the microcontroller is 0~3.3V, and the function model can be equivalent to f=1.65(sinα+1). Therefore, if you want to output a positive or negative sine wave signal, you need to use a rail-to-rail op amp to make an offset circuit. The circuit is as follows: Figure 1 As shown in the figure, DAC_IN is the input voltage V DAC_IN ;DAC_OUT is the output voltage V DAC_OUT The input and output of the inverting offset amplifier are: (V--VDAC_IN) / R48 = (VDAC_OUT-V-) / R52. According to the characteristics of the amplifier: virtual short and virtual open, V+ = V-; therefore, by adjusting the resistor divider value of the amplifier V+, the offset of the sine wave output can be removed by calculating the formula, thereby achieving a sine wave signal with positive and negative amplitude output. At the same time, by adjusting the resistance values ​​of R48 and R52, signal amplification is achieved.

[0024] The simulation experiment conducted by the utility model shows that the simulation effect is as follows Figure 4 As shown: DAC_IN is the 0~3.3V sine wave output by the microcontroller. From the simulation results, it can be seen that after the subtraction circuit output of the operational amplifier, the DAC_OUT output achieves a -11V~11V sine wave output.

[0025] Although this specification is described according to implementation modes, not every implementation mode includes only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

Claims

1. A VR crankshaft signal generating circuit, characterized in that: include: A single-chip microcomputer, a DAC sine wave signal output module, an inverting offset operational amplifier output circuit, positive and negative power supplies, and a differential signal output module; the DAC sine wave signal output module, the inverting offset operational amplifier output circuit, the positive and negative power supplies, and the differential signal output module are all communicatively connected to the single-chip microcomputer.

2. A VR crankshaft signal generating circuit according to claim 1, characterized in that: The DAC sine wave signal output module includes a timer, a DMA controller and a DAC digital register. The timer, the DMA controller and the DAC digital register are all connected to the single chip microcomputer for communication.

3. A VR crankshaft signal generating circuit according to claim 1, characterized in that: The inverting offset operational amplifier output circuit includes an operational amplifier, the output end of the operational amplifier is connected to a resistor R53, the other end of the resistor R53 is connected to the output voltage, the non-inverting input end of the operational amplifier is connected to one end of a resistor R51 and one end of a resistor R55, the other end of the resistor R51 is grounded, the other end of the resistor R55 is connected to a power supply, the inverting input end of the operational amplifier is connected to one end of a resistor R48 and one end of a resistor R52, the other end of the resistor R48 is connected to the input voltage, and the other end of the resistor R52 is connected to one end of the resistor R53.