Alarm driving circuit based on analog signal
Through reference voltage generation circuit, comparison circuit and driving amplifier circuit, analog signals are directly collected and output, which solves the problem of high conversion cost of analog signal in the prior art, and realizes low-cost and highly adaptable analog signal monitoring management.
Patent Information
- Application Number
- CN202510446326.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-10
- Publication Date
- 2025-07-08
AI Technical Summary
In existing automotive electronic systems, the monitoring and management of analog signals requires the chip to convert and output analog signals, which is costly and lacks adaptability.
The reference voltage generation circuit, comparison circuit and drive amplifier circuit are adopted, and the operational amplifier, comparator and resistive capacitance components are used to dynamically adjust the circuit parameters to adapt to different application scenarios to realize the direct acquisition and output of analog signals.
There is no need for integrated chips, the cost is lower and the adaptability is stronger. It can effectively adapt in different electrical environments, improving cost-effectiveness.
Smart Images

Figure CN120279640A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic information technology, and particularly relates to an alarm driving circuit based on analog signals. Background Art
[0002] In modern automotive electronic systems, signal monitoring and management are required in many application scenarios. Generally, the sensor type is analog output, and after being processed by a chip, alarm processing is often required.
[0003] There are generally two chip solutions. One solution is MCU + peripheral driving circuit. The MCU is limited to collect analog signals, and after signal quantization, a switch alarm signal is output through the MCU GPIO port. The switch alarm signal is then connected to the peripheral driving circuit for alarm. The other is an SBC chip (with built-in power supply, MCU, and driving circuit), and the pins can directly output alarm information to achieve the alarm function. Regardless of which chip solution, the conversion and output of analog signals are required, and the cost is relatively high. Summary of the Invention
[0004] The present invention provides an alarm driving circuit based on analog signals, which can dynamically adjust circuit parameters according to the actual application environment of the vehicle to adapt to special working conditions in different application scenarios, and specifically provide appropriate circuit parameters, significantly improving the adaptability. And compared with the integrated IC solution, the cost is lower, and it has extremely high cost performance, thus solving the technical problems mentioned in the background art.
[0005] The technical solution of the present invention is as follows: An alarm driving circuit based on analog signals includes: a reference voltage generation circuit, a comparison circuit, and a driving and amplifying circuit. The input end of the reference voltage generation circuit is connected to the working voltage VCC, the output end of the reference voltage generation circuit is connected to the negative input end of the comparison circuit, the positive input end of the comparison circuit is connected to the sensor analog signal output end, and the output end of the comparison circuit is connected to the driving and amplifying circuit; The driving and amplifying circuit includes: an optocoupler S1, a fifth resistor R5, and a third capacitor C3. The first port of the optocoupler is connected to the output end of the comparison circuit, the second port is grounded, the third port is connected to the power supply VBAT, and the fourth port is connected to one end of the fifth resistor R5 and one end of the third capacitor C3 and serves as a signal output interface. The other end of the fifth resistor R5 and the other end of the third capacitor C3 are both grounded.
[0006] Further, the reference voltage generation circuit includes: a first resistor R1, a second resistor R2, a first capacitor C1, and a first amplifier U1. One end of the first resistor R1 is connected to the operating voltage VCC, and the other end of the first resistor R1 is connected to one end of the second resistor R2, one end of the first capacitor C1, and the positive input terminal of the first amplifier U1. The other end of the second resistor R2 and the other end of the first capacitor C1 are grounded. The negative input terminal of the first amplifier U1 is connected to its output terminal and serves as the output terminal of the reference voltage generation circuit.
[0007] Further, the first amplifier U1 is an operational amplifier.
[0008] Further, the comparison circuit includes: a third resistor R3, a second amplifier U2, a fourth resistor R4, and a second capacitor C2. One end of the third resistor R3 is connected to the sensor analog signal output terminal, and the other end of the third resistor R3 is connected to the positive input terminal of the second amplifier U2. The negative input terminal of the second amplifier U2 is connected to the reference voltage generation circuit. The output terminal of the second amplifier U2 is connected to one end of the fourth resistor R4, and the other end of the fourth resistor R4 is connected to the drive amplification circuit. The power supply terminal of the second amplifier U2 is connected to the operating voltage VCC and one end of the second capacitor C2, and the other end of the second capacitor C2 is connected to the signal ground.
[0009] Further, the second amplifier U2 is a fast comparator.
[0010] Advantages of the present invention: The present invention does not require the use of an integrated chip and does not need to convert and output analog signals. Only operational amplifiers, comparators, diodes, and resistive-capacitive elements are used to complete signal acquisition and output, with stronger versatility and lower cost. By flexibly adjusting the parameters of each component in the circuit, it can adapt to different application environments and can well adapt to different electrical environments. Compared with the integrated chip solution, the cost is more advantageous. Description of the Drawings
[0011] Figure 1 is a specific circuit diagram of an alarm drive circuit based on analog signals according to the present invention. Detailed Embodiments
[0012] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0013] In the technical solution of the present invention, Figure 1 is a circuit diagram provided according to the specific structure of an alarm driving circuit based on an analog signal of the present invention. As Figure 1 shown, the present invention includes: a reference voltage generation circuit, a comparison circuit, and a driving and amplifying circuit. The input end of the reference voltage generation circuit is connected to the working voltage VCC, the output end of the reference voltage generation circuit is connected to the negative input end of the comparison circuit, the positive input end of the comparison circuit is connected to the sensor analog signal output end, i.e., the ADC _INPUT pin, and the output end of the comparison circuit is connected to the driving and amplifying circuit.
[0014] Among them, the reference voltage generation circuit can generate a reference voltage for comparison by the comparison circuit. The comparison circuit is used to compare the reference voltage with the analog signal output by the sensor, thereby generating a comparison signal. The driving and amplifying circuit then amplifies the comparison signal to enhance its driving ability and anti-interference ability.
[0015] The driving and amplifying circuit includes: an optocoupler S1, a fifth resistor R5, and a third capacitor C3. The first port of the optocoupler is connected to the output end of the comparison circuit, the second port is grounded, the third port is connected to the power supply VBAT, and the fourth port is connected to one end of the fifth resistor R5 and one end of the third capacitor C3 and serves as a signal output interface, i.e., the OUTPUT pin in the figure. The other end of the fifth resistor R5 and the other end of the third capacitor C3 are both grounded. Among them, the optocoupler S1 is a high-speed optocoupler.
[0016] In a technical solution of the present invention, the reference voltage generation circuit includes: a first resistor R1, a second resistor R2, a first capacitor C1, and a first amplifier U1. One end of the first resistor R1 is connected to the working voltage VCC, the other end of the first resistor R1 is connected to one end of the second resistor R2, one end of the first capacitor C1, and the positive input end of the first amplifier U1. The other end of the second resistor R2 and the other end of the first capacitor C1 are grounded. The negative input end of the first amplifier U1 is connected to its output end and serves as the output end of the reference voltage generation circuit. Among them, the first resistor R1 and the second resistor R2 are both high-precision resistors, and the required precision is: 1%. The required precision of the working voltage VCC is: 2% In a technical solution of the present invention, the first amplifier U1 is an operational amplifier.
[0017] In a technical solution of the present invention, the comparison circuit includes: a third resistor R3, a second amplifier U2, a fourth resistor R4, and a second capacitor C2. One end of the third resistor R3 is connected to the sensor analog signal output terminal, the other end of the third resistor R3 is connected to the positive input terminal of the second amplifier U2, the negative input terminal of the second amplifier U2 is connected to the reference voltage generation circuit, the output terminal of the second amplifier U2 is connected to one end of the fourth resistor R4, the other end of the fourth resistor R4 is connected to the drive amplification circuit, the power supply terminal of the second amplifier U2 is connected to the operating voltage VCC and one end of the second capacitor C2, and the other end of the second capacitor C2 is connected to the signal ground.
[0018] In a technical solution of the present invention, the second amplifier U2 is a fast comparator.
[0019] The working principle of the present invention is as follows: The reference voltage generation circuit will form a reference voltage by dividing the voltage of the first resistor R1 and the second resistor R2. The reference voltage ≈ VCC * R2 / (R1 + R2). C1 plays a role in filtering. The emitter follower circuit of U1 is used to increase the signal strength of the input signal and reduce the input resistance of the comparator. The analog output signal of the sensor is directly compared with the reference voltage generated by the reference voltage generation circuit. When it is higher than the reference voltage, the output is high level, and when it is lower than the reference voltage, the output is low level, thereby converting the analog signal into a switch signal for driving the alarm.
[0020] The switch signal output by the comparison circuit has a weak driving ability. After being output to the drive amplification circuit, when the output of the comparison circuit is high level, the optocoupler S1 operates, and the output OUTPUT level ≈ VBAT. This level is the alarm high level, and at this time, it can drive the alarm to give an alarm. When the output of the comparison circuit is low level, the optocoupler S1 does not operate, and at this time, the OUTPUT level ≈ 0V. At this time, the output is low level and cannot drive the alarm, so no alarm is given. In summary, the present invention finally realizes the alarm function.
[0021] In the present invention, the reference voltage generation circuit sets the reference voltage through a voltage divider of high-precision resistors and then through an emitter follower; the comparison circuit compares the analog signal of the sensor with the reference voltage generated by the reference voltage generation circuit, outputs high and low levels, and outputs them to the next-stage circuit. The high-level amplitude is equivalent to the comparator voltage; the drive amplification circuit connects its input terminal to the output terminal of the comparison circuit, amplifies the signal level through an optocoupler, and the output is the battery voltage. The drive amplification circuit enhances the driving ability and at the same time improves the anti-interference ability, amplifies the drive signal, performs alarm processing, and realizes the alarm function.
[0022] Finally, it should be noted that the above specific embodiments are only used to illustrate the technical solutions of the present invention rather than to limit them. Although the present invention has been described in detail with reference to the examples, those of ordinary skill in the art should understand that the technical solutions of the present invention can be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the present invention, and they should all be covered within the scope of the claims of the present invention.
Claims
1. An alarm driving circuit based on analog signals, characterized in that Comprising: A reference voltage generation circuit, a comparison circuit, and a driving and amplifying circuit. The input end of the reference voltage generation circuit is connected to the working voltage VCC. The output end of the reference voltage generation circuit is connected to the negative input end of the comparison circuit. The positive input end of the comparison circuit is connected to the sensor analog signal output end. The output end of the comparison circuit is connected to the driving and amplifying circuit. The driving and amplifying circuit includes: an optocoupler S1, a fifth resistor R5, and a third capacitor C3. The first port of the optocoupler is connected to the output end of the comparison circuit. The second port is grounded. The third port is connected to the power supply VBAT. The fourth port is connected to one end of the fifth resistor R5 and one end of the third capacitor C3 and serves as the signal output interface. The other end of the fifth resistor R5 and the other end of the third capacitor C3 are both grounded.
2. The alarm driving circuit based on an analog signal according to claim 1, wherein The reference voltage generation circuit includes: a first resistor R1, a second resistor R2, a first capacitor C1, and a first amplifier U1. One end of the first resistor R1 is connected to the working voltage VCC. The other end of the first resistor R1 is connected to one end of the second resistor R2, one end of the first capacitor C1, and the positive input end of the first amplifier U1. The other end of the second resistor R2 and the other end of the first capacitor C1 are grounded. The negative input end of the first amplifier U1 is connected to its output end and serves as the output end of the reference voltage generation circuit.
3. The alarm driving circuit based on analog signals according to claim 2, wherein, The first amplifier U1 is an operational amplifier.
4. The alarm driving circuit based on analog signals according to claim 1, wherein, The comparison circuit includes: a third resistor R3, a second amplifier U2, a fourth resistor R4, and a second capacitor C2. One end of the third resistor R3 is connected to the sensor analog signal output end. The other end of the third resistor R3 is connected to the positive input end of the second amplifier U2. The negative input end of the second amplifier U2 is connected to the reference voltage generation circuit. The output end of the second amplifier U2 is connected to one end of the fourth resistor R4. The other end of the fourth resistor R4 is connected to the driving and amplifying circuit. The power supply end of the second amplifier U2 is connected to the working voltage VCC and one end of the second capacitor C2. The other end of the second capacitor C2 is connected to the signal ground.
5. The alarm driving circuit based on an analog signal according to claim 4, wherein, The second amplifier U2 is a fast comparator.