CN216310564U - Analog quantity signal acquisition circuit and vehicle controller - Google Patents

Analog quantity signal acquisition circuit and vehicle controller Download PDF

Info

Publication number
CN216310564U
CN216310564U CN202122534267.7U CN202122534267U CN216310564U CN 216310564 U CN216310564 U CN 216310564U CN 202122534267 U CN202122534267 U CN 202122534267U CN 216310564 U CN216310564 U CN 216310564U
Authority
CN
China
Prior art keywords
quantity signal
analog
analog quantity
branch
digital
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202122534267.7U
Other languages
Chinese (zh)
Inventor
郑光磊
陈凯阳
王奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ruichi Dianzhuang Dalian Electric System Co ltd
Original Assignee
Ruichi Dianzhuang Dalian Electric System Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ruichi Dianzhuang Dalian Electric System Co ltd filed Critical Ruichi Dianzhuang Dalian Electric System Co ltd
Priority to CN202122534267.7U priority Critical patent/CN216310564U/en
Application granted granted Critical
Publication of CN216310564U publication Critical patent/CN216310564U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

The utility model provides an analog quantity signal acquisition circuit and a vehicle controller, which relate to the technical field of vehicle data acquisition and comprise a sensor, a first branch circuit, a second branch circuit and a single chip microcomputer; the sensor is respectively connected with the first branch and the second branch and used for collecting analog quantity signals; the first branch circuit is connected with the single chip microcomputer, the analog quantity signal is preprocessed to obtain a first analog quantity signal, the first analog quantity signal is sent to the single chip microcomputer, and the single chip microcomputer converts the first analog quantity signal into a first digital quantity signal; the second branch is connected with the single chip microcomputer, analog-to-digital conversion is carried out on the analog quantity signal to obtain a second digital quantity signal, and the second digital quantity signal is sent to the single chip microcomputer; the single chip microcomputer verifies the first digital quantity signal through the second digital quantity signal, if the verification fails, an alarm is given, and the digital quantity signal acquisition process is monitored while the external analog quantity signal is accurately acquired so as to relieve the technical problem of analog quantity signal acquisition safety.

Description

Analog quantity signal acquisition circuit and vehicle controller
Technical Field
The utility model relates to the technical field of vehicle data acquisition, in particular to an analog quantity signal acquisition circuit and a vehicle controller.
Background
With the development of vehicle technology, the current control of vehicles is more diversified, and various signals of the vehicles are required to be collected.
The safety of the current vehicle external signal acquisition is poor, and generally, an external Analog signal is acquired, is subjected to primary processing and then is sent to an internal Analog-to-digital converter (ADC) of a single chip microcomputer, or is directly converted into a digital value through an external Analog-to-digital conversion (AD) chip and then is sent to the single chip microcomputer. The external signal acquisition mode has poor safety, and once the signal is interfered or the singlechip is damaged, accidents or shutdown faults can be caused.
SUMMERY OF THE UTILITY MODEL
The utility model aims to provide an analog quantity signal acquisition circuit and a vehicle controller, which can be used for accurately acquiring an external analog quantity signal and monitoring a digital quantity signal acquisition process so as to relieve the technical problem of analog quantity signal acquisition safety.
In a first aspect, an embodiment of the present invention provides an analog signal acquisition circuit, including: the system comprises a sensor, a first branch circuit, a second branch circuit and a single chip microcomputer;
the sensor is respectively connected with the first branch and the second branch and is used for acquiring analog quantity signals;
the first branch circuit is connected with the singlechip, preprocesses the analog quantity signal to obtain a first analog quantity signal, and sends the first analog quantity signal to the singlechip, wherein the singlechip converts the first analog quantity signal into a first digital quantity signal;
the second branch circuit is connected with the singlechip, performs analog-to-digital conversion on the analog quantity signal to obtain a second digital quantity signal, and sends the second digital quantity signal to the singlechip;
and the singlechip verifies the first digital quantity signal through the second digital quantity signal, and if the verification fails, an alarm is given.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where the first branch includes a first voltage follower and a limiting circuit, which are connected to each other; the analog quantity signal passes through the input end of the first voltage follower, enters the amplitude limiting circuit from the output end of the first voltage follower, is output by the amplitude limiting circuit, and is input to the single chip microcomputer.
With reference to the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where the second branch includes a second voltage follower and an external analog-to-digital conversion chip, where the analog signal passes through an input end of the second voltage follower, enters the external analog-to-digital conversion chip from an output end of the second voltage follower, is analog-to-digital converted by the external analog-to-digital conversion chip, outputs a second digital signal, and is input to the single chip microcomputer.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the third possible implementation manner further includes a low-pass filter, an input end of the low-pass filter is connected to the output end of the sensor, and an output end of the low-pass filter is connected to the input end of the first branch and the input end of the second branch, respectively.
With reference to the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where the low-pass filter is configured to filter the analog quantity signal.
With reference to the first aspect, an embodiment of the present invention provides a fifth possible implementation manner of the first aspect, where the single chip microcomputer further includes an analog-to-digital conversion module, configured to convert the first analog quantity signal sent by the first branch into a first digital quantity signal.
With reference to the first aspect, an embodiment of the present invention provides a sixth possible implementation manner of the first aspect, where the single chip microcomputer further includes a communication module, configured to transmit the second digital quantity signal through an SPI communication protocol.
With reference to the first aspect, an embodiment of the present invention provides a seventh possible implementation manner of the first aspect, where the first voltage follower and the second voltage follower are configured to amplify the analog signal, and the limiting circuit is configured to ensure that an amplification factor is stable.
With reference to the first aspect, an embodiment of the present invention provides an eighth possible implementation manner of the first aspect, where the single chip microcomputer is further configured to stop working under the condition that the verification fails.
In a second aspect, the embodiment of the present invention further provides a vehicle controller, which includes the analog quantity signal acquisition circuit as described above.
The embodiment of the utility model provides an analog quantity signal acquisition circuit and a vehicle controller, wherein an analog quantity signal acquired by a sensor is connected with a single chip microcomputer through two branches, wherein the first branch is used for simply preprocessing the analog quantity signal to obtain a first analog quantity signal and sending the first analog quantity signal to the single chip microcomputer, the single chip microcomputer is used for converting the first analog quantity signal into a first digital quantity signal, the second branch is used for directly converting the analog quantity signal into a second digital quantity signal and sending the second digital quantity signal to the single chip microcomputer, and the single chip microcomputer is used for verifying the first digital quantity signal converted by the single chip microcomputer on the basis of the second digital quantity signal obtained by the second branch, so that the digital quantity signal acquisition process is monitored, the analog quantity signal acquisition is prevented from being influenced by the single chip microcomputer or circuit abnormity, and the safety and reliability of the analog quantity signal are ensured.
Additional features and advantages of the utility model will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the utility model. The objectives and other advantages of the utility model will be realized and attained by the structure particularly pointed out in the written description and drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic structural diagram of an analog signal acquisition circuit according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of another analog signal acquisition circuit according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, many external signals of an electric automobile need to be acquired, for example, signals such as voltage, current, pressure, temperature and the like, external analog quantity signals are generally acquired by a sensor, then are processed by circuit filtering and sampling and the like, are converted into digital signals, and are sent into a single chip microcomputer for acquisition, monitoring, operation and the like.
However, the current external signal acquisition circuit structure lacks safety, and once signals are interfered or circuits are damaged, accidents or shutdown faults can be caused.
Based on this, the analog quantity signal acquisition circuit and the vehicle controller provided by the embodiment of the utility model can accurately acquire the external analog quantity signal and simultaneously monitor the digital quantity signal acquisition process, thereby ensuring the acquisition safety of the analog quantity signal.
The following is a detailed description by way of example.
Fig. 1 is a schematic structural diagram of an analog signal acquisition circuit according to an embodiment of the present invention.
Referring to fig. 1, the analog signal acquisition circuit includes: the system comprises a sensor, a first branch circuit, a second branch circuit and a single chip microcomputer;
the sensor is respectively connected with the first branch and the second branch and is used for acquiring analog quantity signals;
the first branch circuit is connected with the singlechip, preprocesses the analog quantity signal to obtain a first analog quantity signal, and sends the first analog quantity signal to the singlechip, wherein the singlechip converts the first analog quantity signal into a first digital quantity signal;
the second branch circuit is connected with the singlechip, performs analog-to-digital conversion on the analog quantity signal to obtain a second digital quantity signal, and sends the second digital quantity signal to the singlechip;
and the singlechip verifies the first digital quantity signal through the second digital quantity signal, and if the verification fails, an alarm is given.
In a preferred embodiment of practical application, an analog quantity signal acquired by the sensor is connected with the single chip microcomputer through two branches, wherein the first branch is used for simply preprocessing the analog quantity signal to obtain a first analog quantity signal and sending the first analog quantity signal to the single chip microcomputer, the single chip microcomputer converts the first analog quantity signal into a first digital quantity signal, the second branch is used for directly converting the analog quantity signal into a second digital quantity signal and sending the second digital quantity signal to the single chip microcomputer, the single chip microcomputer verifies the first digital quantity signal converted by the single chip microcomputer based on the second digital quantity signal obtained by the second branch, monitoring of a digital quantity signal acquisition process is achieved, influence of the single chip microcomputer or circuit abnormality on analog quantity signal acquisition is avoided, and safety and reliability of the analog quantity signal are guaranteed.
In some embodiments, as shown in fig. 2, the first branch comprises a first voltage follower and a clipping circuit connected; the analog quantity signal passes through the input end of the first voltage follower, enters the amplitude limiting circuit from the output end of the first voltage follower, is output by the amplitude limiting circuit, and is input to the single chip microcomputer.
In some embodiments, the second branch includes a second voltage follower and an external analog-to-digital conversion chip (external AD chip) connected to each other, where the analog signal enters the external analog-to-digital conversion chip from an output end of the second voltage follower through an input end of the second voltage follower, and is analog-to-digital converted by the external analog-to-digital conversion chip to output a second digital signal, and then is input to the single chip.
The first voltage follower and the second voltage follower can be used for amplifying the analog quantity signal, and the amplitude limiting circuit is used for ensuring the stability of the amplification factor so as to ensure the accuracy of signal acquisition.
In some embodiments, the single chip further includes an analog-to-digital conversion module (ADC module) configured to convert the first analog signal sent by the first branch into a first digital signal; the single chip microcomputer further comprises a communication module used for transmitting the second digital quantity signal through an SPI communication protocol. The single chip microcomputer is also used for stopping working under the condition that the verification fails.
In the practical application process, the analog quantity signal is divided into two paths, one path (a first branch) is preprocessed through the first voltage follower and the amplitude limiting circuit to obtain a first analog quantity signal and is sent to an analog-to-digital conversion module (ADC module) of the single chip microcomputer, the first analog quantity signal is converted into a first digital quantity signal through the analog-to-digital conversion module (ADC module), and the signal of the path mainly has the functions of completing acquisition and processing of the sensor analog quantity signal and participating in algorithm operation of the single chip microcomputer system. And the other path of signal (a second branch) is sent to an external AD chip outside the singlechip through a second voltage follower, and after the analog quantity signal is converted into a second digital quantity signal through the external AD chip, the second digital quantity signal is sent to other modules inside the singlechip through an SPI communication protocol of the communication module to participate in a subsequent control logic algorithm.
It should be noted that the second branch circuit is used for verifying whether the first digital signal acquired by the first branch circuit through the single chip microcomputer is correct, and once the first digital signal is verified to be wrong, an alarm is sent or the system is shut down to ensure the reliability of signal acquisition.
In some embodiments, the analog quantity signal processing device further comprises a low-pass filter, an input end of the low-pass filter is connected with the output end of the sensor, an output end of the low-pass filter is respectively connected with the input end of the first branch and the input end of the second branch, and the low-pass filter is used for filtering the analog quantity signal.
The low-pass filter can filter the analog quantity signals collected by the sensor to improve the accuracy of subsequent signal collection, and respectively sends the analog quantity signals after filtering processing to the input end of the first voltage follower and the input end of the second voltage follower so that the first branch and the second branch can be correspondingly processed.
According to the embodiment of the utility model, the acquired analog quantity signals are respectively converted into the digital quantity signals through the analog-to-digital conversion module (ADC module) in the single chip microcomputer and the external analog-to-digital conversion chip (external AD chip) arranged outside the single chip microcomputer, so that accurate acquisition is realized, meanwhile, the digital quantity signals obtained through the external analog-to-digital conversion chip are used for verifying the digital quantity signals converted in the single chip microcomputer, the signal acquisition process of the single chip microcomputer is monitored, if the condition of failed inspection occurs, alarm and protection are timely carried out, and the safety of analog quantity signal acquisition is greatly improved.
In some embodiments, the present invention further provides a vehicle controller, which includes the analog signal acquisition circuit described above.
The analog quantity signal outside the vehicle can be accurately detected through the detection circuit, and when the acquisition circuit or the single chip microcomputer is abnormal, the alarm is given in time, so that the reliability of signal acquisition is ensured, and the follow-up safety and reliability of the control processing process based on the acquired signal are facilitated.
The vehicle controller provided by the embodiment of the utility model has the same technical characteristics as the analog quantity signal acquisition circuit provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
In the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein.

Claims (10)

1. An analog signal acquisition circuit, comprising: the system comprises a sensor, a first branch circuit, a second branch circuit and a single chip microcomputer;
the sensor is respectively connected with the first branch and the second branch and is used for acquiring analog quantity signals;
the first branch circuit is connected with the singlechip, preprocesses the analog quantity signal to obtain a first analog quantity signal, and sends the first analog quantity signal to the singlechip, wherein the singlechip converts the first analog quantity signal into a first digital quantity signal;
the second branch circuit is connected with the singlechip, performs analog-to-digital conversion on the analog quantity signal to obtain a second digital quantity signal, and sends the second digital quantity signal to the singlechip;
and the singlechip verifies the first digital quantity signal through the second digital quantity signal, and if the verification fails, an alarm is given.
2. The analog quantity signal acquisition circuit according to claim 1, wherein the first branch comprises a first voltage follower and a limiting circuit connected; the analog quantity signal passes through the input end of the first voltage follower, enters the amplitude limiting circuit from the output end of the first voltage follower, is output by the amplitude limiting circuit, and is input to the single chip microcomputer.
3. The analog quantity signal acquisition circuit according to claim 2, wherein the second branch comprises a second voltage follower and an external analog-to-digital conversion chip, wherein the second voltage follower and the external analog-to-digital conversion chip are connected, the analog quantity signal passes through an input end of the second voltage follower, enters the external analog-to-digital conversion chip from an output end of the second voltage follower, is subjected to analog-to-digital conversion by the external analog-to-digital conversion chip, outputs a second digital quantity signal, and is input to the single chip microcomputer.
4. The analog signal acquisition circuit of claim 1, further comprising a low pass filter, wherein an input of the low pass filter is connected to the output of the sensor, and an output of the low pass filter is connected to the input of the first branch and the input of the second branch, respectively.
5. The analog signal acquisition circuit of claim 4, wherein the low pass filter is configured to filter the analog signal.
6. The analog quantity signal acquisition circuit according to claim 1, wherein the single chip microcomputer further comprises an analog-to-digital conversion module for converting the first analog quantity signal sent by the first branch circuit into a first digital quantity signal.
7. The analog quantity signal acquisition circuit according to claim 1, wherein the single chip microcomputer further comprises a communication module for transmitting the second digital quantity signal through an SPI communication protocol.
8. The analog signal acquisition circuit of claim 3, wherein the first voltage follower and the second voltage follower are configured to amplify the analog signal, and the limiting circuit is configured to ensure a stable amplification factor.
9. The analog quantity signal acquisition circuit according to claim 1, wherein the single chip microcomputer is further configured to stop working under the condition that the verification fails.
10. A vehicle controller characterized by comprising the analog quantity signal acquisition circuit according to any one of claims 1 to 9.
CN202122534267.7U 2021-10-20 2021-10-20 Analog quantity signal acquisition circuit and vehicle controller Active CN216310564U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202122534267.7U CN216310564U (en) 2021-10-20 2021-10-20 Analog quantity signal acquisition circuit and vehicle controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202122534267.7U CN216310564U (en) 2021-10-20 2021-10-20 Analog quantity signal acquisition circuit and vehicle controller

Publications (1)

Publication Number Publication Date
CN216310564U true CN216310564U (en) 2022-04-15

Family

ID=81115794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202122534267.7U Active CN216310564U (en) 2021-10-20 2021-10-20 Analog quantity signal acquisition circuit and vehicle controller

Country Status (1)

Country Link
CN (1) CN216310564U (en)

Similar Documents

Publication Publication Date Title
CN108844644B (en) Battery temperature sampling system and car
EP3623781A1 (en) Battery pack temperature detection system
CN110058180A (en) A kind of power battery pack system high pressure interlocking connector detection system
EP3222976B1 (en) Field device and detector
CN101201370A (en) Fault diagnosis system adopting circuit information amalgamation and implementing method thereof
US20160202322A1 (en) Electromechanical adapter
CN111999520A (en) Signal detection device
CN106059585A (en) Data sampling method and sampling system
CN210363861U (en) Shaft temperature detection device and shaft temperature pre/alarm system
CN216310564U (en) Analog quantity signal acquisition circuit and vehicle controller
CN113419082A (en) Input signal processing circuit with detection and diagnosis functions
CN112241138A (en) Logic control device and train control system
CN106199373A (en) Electronic equipment intelligent failure diagnosis method and device
CN104280189A (en) Pressure sensor fault hardware detection method and device
KR20050061036A (en) Signal measurement system for using sensor and train communication network
CN112254875B (en) Circuit and method for judging connection state of bridge sensor
CN112858977B (en) Hall current sensor chip fault detection circuit and detection method
CN213544769U (en) Power battery current acquisition device
CN108206588A (en) It is a kind of that system is monitored based on Internet of Things and the high-voltage board of cloud computing
CN209117846U (en) A kind of self-checking system for track signal monitoring sensor acquisition channel
CN217765058U (en) Data acquisition device and data acquisition system
CN216144870U (en) Electric power detection system
CN220356405U (en) IEPE type sensor state checking system and circuit
US20220307932A1 (en) Sensor Module and Method for Providing a Sensor Module Signal
CN114518153A (en) Error-preventing system, weighing device and tobacco production equipment

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant