WO2018171281A1 - Analogue-to-digital converter and automobile - Google Patents
Analogue-to-digital converter and automobile Download PDFInfo
- Publication number
- WO2018171281A1 WO2018171281A1 PCT/CN2017/119263 CN2017119263W WO2018171281A1 WO 2018171281 A1 WO2018171281 A1 WO 2018171281A1 CN 2017119263 W CN2017119263 W CN 2017119263W WO 2018171281 A1 WO2018171281 A1 WO 2018171281A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- digital signal
- signal
- digital
- analog
- output
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/06—Continuously compensating for, or preventing, undesired influence of physical parameters
- H03M1/0617—Continuously compensating for, or preventing, undesired influence of physical parameters characterised by the use of methods or means not specific to a particular type of detrimental influence
- H03M1/0675—Continuously compensating for, or preventing, undesired influence of physical parameters characterised by the use of methods or means not specific to a particular type of detrimental influence using redundancy
Definitions
- the present disclosure relates to the field of analog-to-digital conversion technologies, and in particular, to an analog-to-digital converter and an automobile.
- Analog-to-Digital Converter is the key input module of the controller.
- the correctness of the data collected by the ADC of the analog-to-digital converter directly affects the security of the control system. It is also the focus of functional safety.
- Functional safety ISO 26262 standard has strict detection requirements for analog-to-digital converter ADC stuck, drift, oscillation, short-circuit between signal lines, etc.
- Traditional analog-to-digital converter ADC acquisition does not consider hardware failure, software Data validity is usually only filtered, so when the ADC of the analog-to-digital converter fails, the system will use invalid data for calculation, and it is very likely that a security incident will occur.
- the technical problem to be solved by the embodiments of the present disclosure is to provide an analog-to-digital converter and a vehicle, which are used to increase the reference group to collect the same signal for comparison by redundant design, thereby reducing the possibility of damage caused by hardware failure.
- an analog-to-digital converter including: a first conversion circuit, configured to convert a sensor voltage signal input by the first input terminal into a first digital signal, and output through the first output terminal; a second conversion circuit, configured to convert a sensor voltage signal input by the second input terminal into a second digital signal, and output through the second output end; wherein the first input end is connected to the second input end; a control unit, respectively acquiring a first digital signal output by the first output end and a second digital signal output by the second output end, for using a voltage value represented by the first digital signal and the second digital When the absolute value of the difference of the voltage values indicated by the signal is greater than or equal to the first preset value, the first preset fault signal is output.
- the first conversion circuit is further configured to convert a reference voltage signal input by the third input terminal into a third digital signal and output through the third output terminal;
- the second conversion circuit is further configured to The reference voltage signal input by the fourth input terminal is converted into a fourth digital signal and output through the fourth output terminal, wherein the third input terminal is connected to the fourth input terminal;
- the control unit is further used for And outputting a second preset fault signal when an absolute value of a difference between the voltage value represented by the third digital signal and the voltage value indicated by the fourth digital signal is greater than or equal to a second preset value.
- control unit is further configured to: when an absolute value of a difference between the voltage value represented by the first digital signal and the voltage value represented by the second digital signal is less than a first preset value, and Outputting the first digital signal as a mode of the sensor voltage signal when an absolute value of a difference between a voltage value represented by the third digital signal and a voltage value represented by the fourth digital signal is less than a second predetermined value Number conversion result signal.
- the analog to digital converter further includes: a first storage unit respectively connected to the first output end and the third output end, the first storage unit is configured to store the first storage unit a digital signal and the third digital signal.
- control unit is coupled to the first storage unit and acquires the first digital signal and the third number stored in the first storage unit by the first storage unit signal.
- the analog to digital converter further includes: a second storage unit respectively connected to the second output end and the fourth output end, the second storage unit configured to store the second a digital signal and the fourth digital signal.
- control unit is coupled to the second storage unit and acquires the third digital signal and the fourth number stored in the second storage unit by the second storage unit signal.
- the first predetermined value ranges from 0.8% of the range of the sensor that inputs the sensor voltage signal to 1.2% of the range of the sensor.
- the second preset value ranges from 0.8% of the voltage value of the reference voltage to 1.2% of the voltage value of the reference voltage.
- Embodiments of the present disclosure also provide an automobile including an analog to digital converter as described above.
- an analog-to-digital converter and an automobile provided by the embodiments of the present disclosure have at least the following beneficial effects: the embodiment of the present disclosure adds a conversion circuit as a reference group by redundant design, and compares by collecting the same signal. Analysis prevents the conversion circuit used for output from being faulty due to faults, etc., reducing the possibility of damage due to hardware failure. At the same time, the embodiment of the present disclosure can also add a reference voltage, separately collect and convert the reference voltage signal and compare to prevent the output digital signal from being wrong due to the error of the reference voltage collection, thereby further reducing the damage caused by the hardware failure failure. possibility.
- FIG. 1 is a schematic structural diagram of an analog-to-digital converter according to an embodiment of the present disclosure
- FIG. 2 is a schematic structural diagram of an analog to digital converter according to an embodiment of the present disclosure.
- an embodiment of the present disclosure provides an analog-to-digital converter, including: a first conversion circuit 1 configured to convert a sensor voltage signal input by a first input terminal into a first digital signal, and pass the An output terminal is configured to convert the sensor voltage signal input by the second input terminal into a second digital signal and output the second output terminal; wherein the first input end and the first The two input terminals are connected; the control unit 3 respectively obtains the first digital signal output by the first output end and the second digital signal output by the second output end, for the voltage represented by the first digital signal When the absolute value of the difference between the value and the voltage value indicated by the second digital signal is greater than or equal to the first preset value, the first preset fault signal is output.
- the second conversion circuit is added as a reference comparison group, and the first conversion circuit and the second conversion circuit simultaneously receive the voltage signal output by the sensor and convert it into a digital signal, and the control unit will pair the first conversion circuit. Comparing the voltage value indicated by the outputted first digital signal with the voltage value represented by the second digital signal output by the second conversion circuit, when the absolute value of the difference between the two is greater than or equal to the first preset value (according to the experiment Calibration is performed), at this time, the voltage values collected by the two are quite different (beyond the allowable error range), the first conversion circuit or the second conversion circuit may be faulty, and the voltage signal collected at this time is not accurate, if the output is wrong The voltage signal can cause subsequent control errors and cause danger. Therefore, at this time, the control unit outputs a first failure signal to notify other components or the upper control unit analog-to-digital converter ADC to malfunction.
- the embodiment of the present disclosure adds a conversion circuit as a reference group, and compares and analyzes by collecting the same signal, thereby preventing the conversion circuit for output from being faulty due to failure, and reducing the possibility of damage caused by hardware failure.
- the comparison group added by the embodiment of the present disclosure is a separate conversion circuit, which avoids the common cause failure.
- analog-to-digital converter of the embodiment of the present disclosure is not limited to analog-to-digital conversion by using a conversion circuit, and other conversion methods are also possible.
- the first conversion circuit 1 is further configured to convert a reference voltage signal input by the third input terminal into a third digital signal, and pass through the third output end.
- the second conversion circuit 2 is further configured to convert the reference voltage signal input by the fourth input terminal into a fourth digital signal, and output through the fourth output end, wherein the third input end and the fourth
- the control unit 3 is further configured to: when an absolute value of a difference between a voltage value represented by the third digital signal and a voltage value represented by the fourth digital signal is greater than or equal to a second preset value When the second preset fault signal is output.
- the analog-to-digital converter converts the collected voltage signal into a digital signal, which needs to be performed according to the reference voltage. At this time, if the reference voltage is collected incorrectly, the voltage value represented by the digital signal after the analog-to-digital conversion is not collected. The voltage value will cause subsequent use, control errors and cause danger. Therefore, in the embodiment of the present disclosure, the first conversion circuit and the second conversion circuit are also used to simultaneously collect a provided reference voltage, wherein the voltage provided by the reference voltage source is known, for example, providing a reference voltage of 2.5V.
- the first conversion circuit and the second conversion circuit simultaneously collect the reference voltage, and when the control unit determines that the error of the two is within the allowable range, it can be determined that the acquisition reference voltage is correct.
- the second preset fault signal is output to inform the other The component or upper control component analog-to-digital converter ADC has failed and the current fault has failed for the acquisition reference voltage.
- a reference voltage is added, and the reference voltage signal is separately collected, converted, and compared to prevent an error in the output of the reference voltage due to a fault in the acquisition of the reference voltage, thereby further reducing the possibility of damage due to hardware failure.
- the control unit 3 is further configured to: when an absolute value of a difference between a voltage value represented by the first digital signal and a voltage value represented by the second digital signal is less than a first preset value, and the Outputting the first digital signal as an analog-to-digital conversion result of the sensor voltage signal when an absolute value of a difference between a voltage value represented by the three digital signals and a voltage value represented by the fourth digital signal is less than a second predetermined value signal.
- the first conversion circuit and the second conversion circuit for the sensor voltage and the voltage signal collected by the reference voltage are within the error tolerance range, it can be determined that the first conversion circuit has not failed, and the first conversion can be performed at this time.
- the digital signal output after circuit conversion is used by other components.
- the analog-to-digital converter further includes: a first storage unit 4 respectively connected to the first output end and the third output end, The first storage unit 4 is configured to store the first digital signal and the third digital signal.
- the control unit 3 is connected to the first storage unit 4, and acquires the first digital signal and the third number stored in the first storage unit 4 through the first storage unit 4. signal.
- the analog to digital converter further includes: a second storage unit 5 connected to the second output end and the fourth output end, respectively, the second storage unit 5 is configured to store the a second digital signal and the fourth digital signal.
- the control unit 3 is connected to the second storage unit 5, and acquires the third digital signal and the fourth number stored in the second storage unit 5 through the second storage unit 5. signal.
- the storage unit is further configured to store the digital signals converted by the first conversion circuit and the second conversion circuit, and the control unit may directly connect with the first storage unit and the second storage unit and call the internal storage thereof.
- Digital signal data At the same time, when the control unit determines that the first conversion circuit has not failed (ie, the two sets of voltage acquisition are within the error tolerance range), no fault signal is generated to the outside, and the external device can be connected to the first storage unit at this time, and The first digital signal stored by the first storage unit is directly called when needed (the remaining digital signals are used for comparison. In the embodiment, when the fault is not sent, that is, when the analog-to-digital converter is normal, only the first conversion circuit is used. Digital signal after converting the sensor voltage).
- the memory cells shown in the drawings are all independent of the conversion circuit. This is only one embodiment of the present disclosure. In another embodiment of the present disclosure, the memory cells shown may also be disposed in the conversion circuit. Internally, and not limited to circuit conversion, it may also be internal to the memory cell setting and conversion module (this is the same function as the conversion circuit described above for converting a voltage signal into a digital signal).
- the first preset value ranges from 0.8% of the range of the sensor that inputs the sensor voltage signal to 1.2% of the range of the sensor.
- the second preset value ranges from 0.8% of the voltage value of the reference voltage to 1.2% of the voltage value of the reference voltage.
- a reference embodiment is provided for the range of values of the first preset value and the second preset value.
- the first preset value is preferably 1% of the range of the sensor, that is, when the difference between the voltage values collected by the two channels is within 1% of the range of the sensor, the error of the acquisition may be considered as permitted.
- the conversion circuit is working properly.
- the second preset value is preferably 1% of the voltage value of the reference voltage, that is, when the difference between the two collected reference voltage values is within 1% of the voltage value of the reference voltage, the error of the acquisition may be considered to be within an allowable range. At this point, the conversion circuit works normally.
- the above is the failure and the result that may occur when the existing analog-to-digital speed is obtained.
- the analog-to-digital converter of the embodiment of the present disclosure can detect the failure of the conversion circuit (conversion module) when the above-mentioned failure occurs, that is, the first conversion circuit occurs. In the above fault, by comparing and analyzing the voltage values collected by the second conversion circuit, it is found that the first conversion circuit generates a failure, thereby avoiding safety problems caused by the use of erroneous data.
- Embodiments of the present disclosure provide an automobile including an analog to digital converter as described above.
- the embodiment of the present disclosure increases the conversion circuit as a reference group by using redundant design, and compares and analyzes the same signal to prevent the conversion circuit for output from being faulty due to faults, and reduces the damage caused by hardware failure.
- the embodiment of the present disclosure can also add a reference voltage, separately collect and convert the reference voltage signal and compare to prevent the output digital signal from being wrong due to the error of the reference voltage collection, thereby further reducing the damage caused by the hardware failure failure. possibility.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Analogue/Digital Conversion (AREA)
Abstract
Description
相关申请的交叉引用Cross-reference to related applications
本申请主张在2017年3月22日在中国提交的中国专利申请号No.201710172851.8的优先权,其全部内容通过引用包含于此。Priority is claimed on Japanese Patent Application No. 201710172851.8, filed on Jan. 22,,,,,,,,,
本公开涉及模数转换技术领域,特别涉及一种模数转换器及汽车。The present disclosure relates to the field of analog-to-digital conversion technologies, and in particular, to an analog-to-digital converter and an automobile.
功能安全ISO 26262标准是以IEC61508为基础,为满足道路车辆上特定电子电气系统的需求而编写。安全是未来汽车发展的关键问题之一,不仅在驾驶辅助和动力驱动领域,而且在车辆动态控制和主被动安全系统领域,新的功能越来越多地触及到系统安全工程领域。这些功能的开发和集成将强化对安全相关系统开发流程的需求,并且要求提供满足所有合理的系统安全目标的证明。随着技术日益复杂、软件内容和机电一体化应用不断增加,来自系统性失效和硬件随机失效的风险逐渐增加。Functional Safety The ISO 26262 standard is based on IEC61508 and is written to meet the needs of specific electronic and electrical systems on road vehicles. Safety is one of the key issues in the future development of automobiles. Not only in the field of driving assistance and power drive, but also in the field of vehicle dynamic control and active and passive safety systems, new functions are increasingly reaching the field of system safety engineering. The development and integration of these features will strengthen the need for safety-related system development processes and require proof of meeting all reasonable system safety objectives. As technology becomes more complex, software content and mechatronic applications continue to increase, the risks from system failures and random hardware failures increase.
模数变换器ADC(Analog-to-Digital Converter)作为控制器的关键输入模块,模数变换器ADC采集数据的正确与否,直接影响控制系统的安全性,也是功能安全重点关注的对象。功能安全ISO 26262标准对模数变换器ADC卡滞、漂移、震荡、信号线间的短路等故障都有严格的检测要求,传统的模数变换器ADC采集,并未考虑硬件失效,软件上对于数据有效性通常只是做了滤波处理,如此当发生模数变换器ADC硬件失效时,系统将采用无效的数据进行计算,很有可能发生安全事故。Analog-to-Digital Converter (ADC) is the key input module of the controller. The correctness of the data collected by the ADC of the analog-to-digital converter directly affects the security of the control system. It is also the focus of functional safety. Functional safety ISO 26262 standard has strict detection requirements for analog-to-digital converter ADC stuck, drift, oscillation, short-circuit between signal lines, etc. Traditional analog-to-digital converter ADC acquisition does not consider hardware failure, software Data validity is usually only filtered, so when the ADC of the analog-to-digital converter fails, the system will use invalid data for calculation, and it is very likely that a security incident will occur.
发明内容Summary of the invention
本公开实施例要解决的技术问题是提供一种模数转换器及汽车,用以实现通过冗余设计增加一参考组采集同一信号进行对比,降低因硬件失效故障造成危害的可能性。The technical problem to be solved by the embodiments of the present disclosure is to provide an analog-to-digital converter and a vehicle, which are used to increase the reference group to collect the same signal for comparison by redundant design, thereby reducing the possibility of damage caused by hardware failure.
本公开在一些实施例中提供了一种模数转换器,包括:第一转换电路,用于将第一输入端输入的传感器电压信号转换为第一数字信号,并通过第一输出端输出;第二转换电路,用于将第二输入端输入的传感器电压信号转换为第二数字信号,并通过第二输出端输出;其中,所述第一输入端与所述第二输入端相连接;控制单元,分别获取所述第一输出端输出的第一数字信号和所述第二输出端输出的第二数字信号,用于当所述第一数字信号表示的电压值与所述第二数字信号表示的电压值的差值的绝对值大于或等于第一预设值时,输出第一预设故障信号。The present disclosure provides, in some embodiments, an analog-to-digital converter, including: a first conversion circuit, configured to convert a sensor voltage signal input by the first input terminal into a first digital signal, and output through the first output terminal; a second conversion circuit, configured to convert a sensor voltage signal input by the second input terminal into a second digital signal, and output through the second output end; wherein the first input end is connected to the second input end; a control unit, respectively acquiring a first digital signal output by the first output end and a second digital signal output by the second output end, for using a voltage value represented by the first digital signal and the second digital When the absolute value of the difference of the voltage values indicated by the signal is greater than or equal to the first preset value, the first preset fault signal is output.
在一些实施例中,所述第一转换电路还用于将第三输入端输入的基准电压信号转换为第三数字信号,并通过第三输出端输出;所述第二转换电路还用于将第四输入端输入的基准电压信号转换为第四数字信号,并通过第四输出端输出,其中,所述第三输入端与所述第四输入端相连接;所述控制单元,还用于当所述第三数字信号表示的电压值与所述第四数字信号表示的电压值的差值的绝对值大于或等于第二预设值时,输出第二预设故障信号。In some embodiments, the first conversion circuit is further configured to convert a reference voltage signal input by the third input terminal into a third digital signal and output through the third output terminal; the second conversion circuit is further configured to The reference voltage signal input by the fourth input terminal is converted into a fourth digital signal and output through the fourth output terminal, wherein the third input terminal is connected to the fourth input terminal; the control unit is further used for And outputting a second preset fault signal when an absolute value of a difference between the voltage value represented by the third digital signal and the voltage value indicated by the fourth digital signal is greater than or equal to a second preset value.
在一些实施例中,所述控制单元,还用于当所述第一数字信号表示的电压值与所述第二数字信号表示的电压值的差值的绝对值小于第一预设值、且所述第三数字信号表示的电压值与所述第四数字信号表示的电压值的差值的绝对值小于第二预设值时,输出所述第一数字信号作为所述传感器电压信号的模数转换结果信号。In some embodiments, the control unit is further configured to: when an absolute value of a difference between the voltage value represented by the first digital signal and the voltage value represented by the second digital signal is less than a first preset value, and Outputting the first digital signal as a mode of the sensor voltage signal when an absolute value of a difference between a voltage value represented by the third digital signal and a voltage value represented by the fourth digital signal is less than a second predetermined value Number conversion result signal.
在一些实施例中,所述模数转换器还包括:分别与所述第一输出端和所述第三输出端连接的第一存储单元,所述第一存储单元用于存储所述第一数字信号和所述第三数字信号。In some embodiments, the analog to digital converter further includes: a first storage unit respectively connected to the first output end and the third output end, the first storage unit is configured to store the first storage unit a digital signal and the third digital signal.
在一些实施例中,所述控制单元与所述第一存储单元连接,并通过所述第一存储单元获取存储于所述第一存储单元内的所述第一数字信号和所述第三数字信号。In some embodiments, the control unit is coupled to the first storage unit and acquires the first digital signal and the third number stored in the first storage unit by the first storage unit signal.
在一些实施例中,所述模数转换器还包括:分别与所述第二输出端和所述第四输出端连接的第二存储单元,所述第二存储单元用于存储所述第二数字信号和所述第四数字信号。In some embodiments, the analog to digital converter further includes: a second storage unit respectively connected to the second output end and the fourth output end, the second storage unit configured to store the second a digital signal and the fourth digital signal.
在一些实施例中,所述控制单元与所述第二存储单元连接,并通过所述 第二存储单元获取存储于所述第二存储单元内的所述第三数字信号和所述第四数字信号。In some embodiments, the control unit is coupled to the second storage unit and acquires the third digital signal and the fourth number stored in the second storage unit by the second storage unit signal.
在一些实施例中,所述第一预设值的取值范围为输入所述传感器电压信号的传感器的量程的0.8%至所述传感器的量程的1.2%。In some embodiments, the first predetermined value ranges from 0.8% of the range of the sensor that inputs the sensor voltage signal to 1.2% of the range of the sensor.
在一些实施例中,所述第二预设值的取值范围为所述基准电压的电压值的0.8%至所述基准电压的电压值的1.2%。In some embodiments, the second preset value ranges from 0.8% of the voltage value of the reference voltage to 1.2% of the voltage value of the reference voltage.
本公开实施例还提供了一种汽车,包括如上所述的模数转换器。Embodiments of the present disclosure also provide an automobile including an analog to digital converter as described above.
与相关技术相比,本公开实施例提供的一种模数转换器及汽车,至少具有以下有益效果:本公开实施例通过冗余设计,增加一转换电路作为参考组,通过采集同一信号进行对比分析,防止用于输出的转换电路因故障等采集出现错误,降低了因硬件失效故障造成危害的可能性。同时,本公开实施例还可增加一基准电压,分别对基准电压信号进行采集转换并比较,防止因故障对参考电压的采集出现错误导致输出数字信号错误,进一步降低了因硬件失效故障造成危害的可能性。Compared with the related art, an analog-to-digital converter and an automobile provided by the embodiments of the present disclosure have at least the following beneficial effects: the embodiment of the present disclosure adds a conversion circuit as a reference group by redundant design, and compares by collecting the same signal. Analysis prevents the conversion circuit used for output from being faulty due to faults, etc., reducing the possibility of damage due to hardware failure. At the same time, the embodiment of the present disclosure can also add a reference voltage, separately collect and convert the reference voltage signal and compare to prevent the output digital signal from being wrong due to the error of the reference voltage collection, thereby further reducing the damage caused by the hardware failure failure. possibility.
图1为本公开实施例的模数转换器的结构示意图;以及1 is a schematic structural diagram of an analog-to-digital converter according to an embodiment of the present disclosure;
图2为本公开实施例的模数转换器的结构示意图。2 is a schematic structural diagram of an analog to digital converter according to an embodiment of the present disclosure.
为使本公开要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。在下面的描述中,提供诸如具体的配置和组件的特定细节仅仅是为了帮助全面理解本公开的实施例。因此,本领域技术人员应该清楚,可以对这里描述的实施例进行各种改变和修改而不脱离本公开的范围和精神。另外,为了清楚和简洁,省略了对已知功能和构造的描述。The technical problems, the technical solutions, and the advantages of the present invention will be more clearly described in conjunction with the accompanying drawings and specific embodiments. In the following description, specific details such as specific configurations and components are provided only to assist in a comprehensive understanding of the embodiments of the present disclosure. It will be apparent to those skilled in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the disclosure. In addition, descriptions of well-known functions and constructions are omitted for clarity and conciseness.
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本公开的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相 同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。It is to be understood that the phrase "one embodiment" or "an embodiment" or "an" or "an" Thus, "in one embodiment" or "in an embodiment" or "an" In addition, these particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
参见图1至图2,本公开实施例提供了一种模数转换器,包括:第一转换电路1,用于将第一输入端输入的传感器电压信号转换为第一数字信号,并通过第一输出端输出;第二转换电路2,用于将第二输入端输入的传感器电压信号转换为第二数字信号,并通过第二输出端输出;其中,所述第一输入端与所述第二输入端相连接;控制单元3,分别获取所述第一输出端输出的第一数字信号和所述第二输出端输出的第二数字信号,用于当所述第一数字信号表示的电压值与所述第二数字信号表示的电压值的差值的绝对值大于或等于第一预设值时,输出第一预设故障信号。Referring to FIG. 1 to FIG. 2, an embodiment of the present disclosure provides an analog-to-digital converter, including: a
在本公开实施例中,增加第二转换电路作为参考对比组,第一转换电路和第二转换电路同时接收传感器输出的电压信号,并将其转换为数字信号,控制单元将对第一转换电路输出的第一数字信号表示的电压值与第二转换电路输出的第二数字信号表示的电压值进行比较,当两者的差值的绝对值大于或等于第一预设值时(可根据实验进行标定),此时两者的采集的电压值相差较大(超出允许的误差范围),第一转换电路或第二转换电路可能出现故障,此时采集的电压信号并不准确,若输出错误的电压信号可能导致后续控制错误并导致危险的发生。故而,此时控制单元输出第一故障信号,告知其他部件或上层控制部件模数转换器ADC发生故障。In the embodiment of the present disclosure, the second conversion circuit is added as a reference comparison group, and the first conversion circuit and the second conversion circuit simultaneously receive the voltage signal output by the sensor and convert it into a digital signal, and the control unit will pair the first conversion circuit. Comparing the voltage value indicated by the outputted first digital signal with the voltage value represented by the second digital signal output by the second conversion circuit, when the absolute value of the difference between the two is greater than or equal to the first preset value (according to the experiment Calibration is performed), at this time, the voltage values collected by the two are quite different (beyond the allowable error range), the first conversion circuit or the second conversion circuit may be faulty, and the voltage signal collected at this time is not accurate, if the output is wrong The voltage signal can cause subsequent control errors and cause danger. Therefore, at this time, the control unit outputs a first failure signal to notify other components or the upper control unit analog-to-digital converter ADC to malfunction.
本公开实施例通过冗余设计,增加一转换电路作为参考组,通过采集同一信号进行对比分析,防止用于输出的转换电路因故障等采集出现错误,降低了因硬件失效故障造成危害的可能性。同时,本公开实施例增加的对比组为单独的转换电路,避免了共因失效。Through the redundant design, the embodiment of the present disclosure adds a conversion circuit as a reference group, and compares and analyzes by collecting the same signal, thereby preventing the conversion circuit for output from being faulty due to failure, and reducing the possibility of damage caused by hardware failure. . At the same time, the comparison group added by the embodiment of the present disclosure is a separate conversion circuit, which avoids the common cause failure.
需要注意的时,本公开实施例的模数转换器其并不限于采用转换电路进行模数转换,其他转换方式亦可。It should be noted that the analog-to-digital converter of the embodiment of the present disclosure is not limited to analog-to-digital conversion by using a conversion circuit, and other conversion methods are also possible.
参见图2,在本公开一实施例的模数转换器中,所述第一转换电路1还用于将第三输入端输入的基准电压信号转换为第三数字信号,并通过第三输出端输出;所述第二转换电路2还用于将第四输入端输入的基准电压信号转换为第四数字信号,并通过第四输出端输出,其中,所述第三输入端与所述 第四输入端相连接;所述控制单元3,还用于当所述第三数字信号表示的电压值与所述第四数字信号表示的电压值的差值的绝对值大于或等于第二预设值时,输出第二预设故障信号。Referring to FIG. 2, in an analog-to-digital converter according to an embodiment of the present disclosure, the
在模数转换时,模数转换器对采集的电压信号转换为数字信号需要根据参考电压进行,此时,若参考电压采集错误则将导致模数转换后的数字信号表示的电压值并非采集的电压值,将导致后续利用、控制错误并导致危险的发生。故而,在本公开实施例中,还利用第一转换电路和第二转换电路同时采集一提供的基准电压,其中,基准电压电源提供的电压为已知的,例如,提供一2.5V的基准电压,通过第一转换电路和第二转换电路同时采集该基准电压,当控制单元判断其两者的误差在允许范围内时,则可判断采集参考电压是正确的。当两者的误差超出允许的范围时(差值的绝对值大于或等于第二预设值时,第二预设值可根据实验进行预先标定),则输出第二预设故障信号,告知其他部件或上层控制部件模数转换器ADC发生故障,且当前故障为采集参考电压出现故障。In the analog-to-digital conversion, the analog-to-digital converter converts the collected voltage signal into a digital signal, which needs to be performed according to the reference voltage. At this time, if the reference voltage is collected incorrectly, the voltage value represented by the digital signal after the analog-to-digital conversion is not collected. The voltage value will cause subsequent use, control errors and cause danger. Therefore, in the embodiment of the present disclosure, the first conversion circuit and the second conversion circuit are also used to simultaneously collect a provided reference voltage, wherein the voltage provided by the reference voltage source is known, for example, providing a reference voltage of 2.5V. The first conversion circuit and the second conversion circuit simultaneously collect the reference voltage, and when the control unit determines that the error of the two is within the allowable range, it can be determined that the acquisition reference voltage is correct. When the error of the two is out of the allowable range (when the absolute value of the difference is greater than or equal to the second preset value, the second preset value may be pre-calibrated according to the experiment), the second preset fault signal is output to inform the other The component or upper control component analog-to-digital converter ADC has failed and the current fault has failed for the acquisition reference voltage.
本公开实施例中,增加一基准电压,分别对基准电压信号进行采集转换并比较,防止因故障对参考电压的采集出现错误导致输出数字信号错误,进一步降低了因硬件失效故障造成危害的可能性。In the embodiment of the present disclosure, a reference voltage is added, and the reference voltage signal is separately collected, converted, and compared to prevent an error in the output of the reference voltage due to a fault in the acquisition of the reference voltage, thereby further reducing the possibility of damage due to hardware failure. .
其中,所述控制单元3,还用于当所述第一数字信号表示的电压值与所述第二数字信号表示的电压值的差值的绝对值小于第一预设值、且所述第三数字信号表示的电压值与所述第四数字信号表示的电压值的差值的绝对值小于第二预设值时,输出所述第一数字信号作为所述传感器电压信号的模数转换结果信号。The
当第一转换电路和第二转换电路对传感器电压采集的电压信号和基准电压采集的电压信号均处于误差允许的范围内时,可判断第一转换电路未发生故障,此时可将第一转换电路转换后的数字信号输出供其他部件使用。When the voltage signal collected by the first conversion circuit and the second conversion circuit for the sensor voltage and the voltage signal collected by the reference voltage are within the error tolerance range, it can be determined that the first conversion circuit has not failed, and the first conversion can be performed at this time. The digital signal output after circuit conversion is used by other components.
参见图2,在本公开一实施例的模数转换器中,所述模数转换器还包括:分别与所述第一输出端和所述第三输出端连接的第一存储单元4,所述第一存储单元4用于存储所述第一数字信号和所述第三数字信号。Referring to FIG. 2, in an analog-to-digital converter according to an embodiment of the present disclosure, the analog-to-digital converter further includes: a first storage unit 4 respectively connected to the first output end and the third output end, The first storage unit 4 is configured to store the first digital signal and the third digital signal.
其中,所述控制单元3与所述第一存储单元4连接,并通过所述第一存 储单元4获取存储于所述第一存储单元4内的所述第一数字信号和所述第三数字信号。The
在一些实施例中,所述模数转换器还包括:分别与所述第二输出端和所述第四输出端连接的第二存储单元5,所述第二存储单元5用于存储所述第二数字信号和所述第四数字信号。In some embodiments, the analog to digital converter further includes: a second storage unit 5 connected to the second output end and the fourth output end, respectively, the second storage unit 5 is configured to store the a second digital signal and the fourth digital signal.
其中,所述控制单元3与所述第二存储单元5连接,并通过所述第二存储单元5获取存储于所述第二存储单元5内的所述第三数字信号和所述第四数字信号。The
在本实施例中,还分别设置存储单元用于存储第一转换电路和第二转换电路转换后的数字信号,控制单元可直接与第一存储单元和第二存储单元连接并调用其内部存储的数字信号数据。同时,当控制单元判断第一转换电路并未发生故障时(即两组电压采集均在误差允许的范围内),不向外部发生故障信号,此时外部装置可与第一存储单元连接,并在需要时直接调用第一存储单元存储的转换后的第一数字信号(其余数字信号为对比用,本实施例中在未发送故障时,即模数转换器正常时,只采用第一转换电路转换传感器电压后的数字信号)。In this embodiment, the storage unit is further configured to store the digital signals converted by the first conversion circuit and the second conversion circuit, and the control unit may directly connect with the first storage unit and the second storage unit and call the internal storage thereof. Digital signal data. At the same time, when the control unit determines that the first conversion circuit has not failed (ie, the two sets of voltage acquisition are within the error tolerance range), no fault signal is generated to the outside, and the external device can be connected to the first storage unit at this time, and The first digital signal stored by the first storage unit is directly called when needed (the remaining digital signals are used for comparison. In the embodiment, when the fault is not sent, that is, when the analog-to-digital converter is normal, only the first conversion circuit is used. Digital signal after converting the sensor voltage).
需要注意的时,在附图中所示的存储单元均与转换电路相独立,此仅为本公开一实施例,在本公开另一实施例中,所示存储单元亦可设置于转换电路的内部,且亦不限于电路转换,也可以是存储单元设置与转换模块(此即与上述转换电路功能相同、用于将电压信号转换为数字信号的模块)的内部。It should be noted that the memory cells shown in the drawings are all independent of the conversion circuit. This is only one embodiment of the present disclosure. In another embodiment of the present disclosure, the memory cells shown may also be disposed in the conversion circuit. Internally, and not limited to circuit conversion, it may also be internal to the memory cell setting and conversion module (this is the same function as the conversion circuit described above for converting a voltage signal into a digital signal).
在本公开一实施例的模数转换器中,所述第一预设值的取值范围为输入所述传感器电压信号的传感器的量程的0.8%至所述传感器的量程的1.2%。In an analog-to-digital converter according to an embodiment of the present disclosure, the first preset value ranges from 0.8% of the range of the sensor that inputs the sensor voltage signal to 1.2% of the range of the sensor.
在一些实施例中,所述第二预设值的取值范围为所述基准电压的电压值的0.8%至所述基准电压的电压值的1.2%。In some embodiments, the second preset value ranges from 0.8% of the voltage value of the reference voltage to 1.2% of the voltage value of the reference voltage.
在本实施例中,对第一预设值和第二预设值的取值范围提供一参考实施例。其中,在一实施例中,第一预设值优选为传感器的量程的1%,即当两路采集的电压值差值在传感器的量程的1%内时,可认为采集的误差在允许的范围内,此时转换电路工作正常。第二预设值优选为基准电压的电压值的1%,即当两路采集的基准电压值差值在基准电压的电压值的1%内时,可认为采集 的误差在允许的范围内,此时转换电路工作正常。In this embodiment, a reference embodiment is provided for the range of values of the first preset value and the second preset value. In an embodiment, the first preset value is preferably 1% of the range of the sensor, that is, when the difference between the voltage values collected by the two channels is within 1% of the range of the sensor, the error of the acquisition may be considered as permitted. Within this range, the conversion circuit is working properly. The second preset value is preferably 1% of the voltage value of the reference voltage, that is, when the difference between the two collected reference voltage values is within 1% of the voltage value of the reference voltage, the error of the acquisition may be considered to be within an allowable range. At this point, the conversion circuit works normally.
在本公开一实施例的模数转换器中,以英飞凌芯片TC234的ADC模块为例,假设需要采集一个安全的传感器电压信号,做以下失效分析:In the analog-to-digital converter of an embodiment of the present disclosure, taking the ADC module of the Infineon chip TC234 as an example, it is assumed that a safe sensor voltage signal needs to be collected, and the following failure analysis is performed:
上述为现有的模数转速时可能产生的故障和导致的结果,通过本公开实施例的模数转换器可在上述故障发生时检测到转换电路(转换模块)故障,即第一转换电路发生上述故障时,通过与第二转换电路采集的电压值进行比较分析,发现第一转换电路产生故障,从而避免因使用错误数据导致安全问题。The above is the failure and the result that may occur when the existing analog-to-digital speed is obtained. The analog-to-digital converter of the embodiment of the present disclosure can detect the failure of the conversion circuit (conversion module) when the above-mentioned failure occurs, that is, the first conversion circuit occurs. In the above fault, by comparing and analyzing the voltage values collected by the second conversion circuit, it is found that the first conversion circuit generates a failure, thereby avoiding safety problems caused by the use of erroneous data.
本公开实施例提供了一种汽车,包括如上所述的模数转换器。Embodiments of the present disclosure provide an automobile including an analog to digital converter as described above.
综上,本公开实施例通过冗余设计,增加一转换电路作为参考组,通过采集同一信号进行对比分析,防止用于输出的转换电路因故障等采集出现错误,降低了因硬件失效故障造成危害的可能性。同时,本公开实施例还可增加一基准电压,分别对基准电压信号进行采集转换并比较,防止因故障对参考电压的采集出现错误导致输出数字信号错误,进一步降低了因硬件失效故障造成危害的可能性。In summary, the embodiment of the present disclosure increases the conversion circuit as a reference group by using redundant design, and compares and analyzes the same signal to prevent the conversion circuit for output from being faulty due to faults, and reduces the damage caused by hardware failure. The possibility. At the same time, the embodiment of the present disclosure can also add a reference voltage, separately collect and convert the reference voltage signal and compare to prevent the output digital signal from being wrong due to the error of the reference voltage collection, thereby further reducing the damage caused by the hardware failure failure. possibility.
还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含。It should also be noted that, in this context, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, without necessarily requiring or implying such entities or operations. There is any such actual relationship or order between them. Moreover, the terms "including", "comprising" or "comprising" or "comprising" are intended to encompass a non-exclusive inclusion.
以上所述是本公开的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本公开所述原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本公开的保护范围。The above is a preferred embodiment of the present disclosure, and it should be noted that those skilled in the art can also make several improvements and refinements without departing from the principles of the present disclosure. It should also be considered as the scope of protection of the present disclosure.
Claims (10)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710172851.8A CN106961279A (en) | 2017-03-22 | 2017-03-22 | Analog-to-digital converter and automobile |
| CN201710172851.8 | 2017-03-22 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018171281A1 true WO2018171281A1 (en) | 2018-09-27 |
Family
ID=59471386
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/119263 Ceased WO2018171281A1 (en) | 2017-03-22 | 2017-12-28 | Analogue-to-digital converter and automobile |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106961279A (en) |
| WO (1) | WO2018171281A1 (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106961279A (en) * | 2017-03-22 | 2017-07-18 | 北京新能源汽车股份有限公司 | Analog-to-digital converter and automobile |
| CN108152558A (en) * | 2017-11-23 | 2018-06-12 | 北京新能源汽车股份有限公司 | Current sampling system and electric automobile |
| CN108501757B (en) * | 2018-04-27 | 2021-03-02 | 北京新能源汽车股份有限公司 | Battery management system, current sampling method and device and electric automobile |
| CN109752593B (en) * | 2019-01-18 | 2024-07-12 | 钜泉光电科技(上海)股份有限公司 | Detection system, electric energy metering chip and equipment thereof |
| CN110501559B (en) * | 2019-08-27 | 2021-11-09 | 杭州和利时自动化有限公司 | Current collecting device |
| CN112880800A (en) * | 2021-03-25 | 2021-06-01 | 梅特勒-托利多(常州)精密仪器有限公司 | Digital weighing sensor with redundant design |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101640538A (en) * | 2008-08-01 | 2010-02-03 | 扬智科技股份有限公司 | Analog-to-digital converter |
| US20100164762A1 (en) * | 2008-12-29 | 2010-07-01 | Ramyanshu Datta | Methods and apparatus to test and compensate multi-channel digital-to-analog converters |
| US20160329904A1 (en) * | 2015-05-07 | 2016-11-10 | Texas Instruments Incorporated | Diagnostic monitoring for analog-to-digital converters |
| CN106961279A (en) * | 2017-03-22 | 2017-07-18 | 北京新能源汽车股份有限公司 | Analog-to-digital converter and automobile |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105547523A (en) * | 2014-10-29 | 2016-05-04 | 上海辰竹仪表有限公司 | Functional safety type HART measuring system |
| CN105425093B (en) * | 2015-11-24 | 2018-02-09 | 福州大学 | A kind of short trouble early stage discrimination method based on voltage detecting |
-
2017
- 2017-03-22 CN CN201710172851.8A patent/CN106961279A/en active Pending
- 2017-12-28 WO PCT/CN2017/119263 patent/WO2018171281A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101640538A (en) * | 2008-08-01 | 2010-02-03 | 扬智科技股份有限公司 | Analog-to-digital converter |
| US20100164762A1 (en) * | 2008-12-29 | 2010-07-01 | Ramyanshu Datta | Methods and apparatus to test and compensate multi-channel digital-to-analog converters |
| US20160329904A1 (en) * | 2015-05-07 | 2016-11-10 | Texas Instruments Incorporated | Diagnostic monitoring for analog-to-digital converters |
| CN106961279A (en) * | 2017-03-22 | 2017-07-18 | 北京新能源汽车股份有限公司 | Analog-to-digital converter and automobile |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106961279A (en) | 2017-07-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2018171281A1 (en) | Analogue-to-digital converter and automobile | |
| US11733279B2 (en) | Circuit and method for detecting insulation resistance | |
| JP4296811B2 (en) | Physical quantity sensor device | |
| CN103901772B (en) | Two CSTR redundancy inertial platform controller | |
| US9372774B2 (en) | Redundant computing architecture | |
| US8131507B2 (en) | Sensor apparatus | |
| EP1602991A1 (en) | Method of detecting abnormality of R/D converter | |
| US7719255B2 (en) | Safe input circuit with one-channel peripheral connection for the input of a bus participant | |
| CN108844644A (en) | Battery temperature sampling system and car | |
| US9804575B2 (en) | Multiplex control device | |
| CN102375775B (en) | A kind of computer system with detection system unrecoverable error indication signal | |
| US8055404B2 (en) | Sensor apparatus | |
| US8131508B2 (en) | Sensor apparatus | |
| CN108107378A (en) | diagnostic circuit and method for power module | |
| CN112285540B (en) | Input acquisition control detection method and input acquisition control detection circuit | |
| WO2019029479A1 (en) | Digital switch detecting circuit and method | |
| CN118075312A (en) | Vehicle-mounted SerDes chip, vehicle-mounted data transmission system comprising same and vehicle | |
| KR20220050094A (en) | Instantaneous voltage drop detection circuit and vehicle-mounted diagnostic system | |
| CN116896381A (en) | Semiconductor device and fault detection method | |
| CN109728816A (en) | An ADC state detection system | |
| EP1337043A2 (en) | Failure detection in an analog-digital conversion function of a microcomputer | |
| CN118591779A (en) | Decision making unit for failed operational sensors | |
| JP2008312327A (en) | Analog input circuit for digital protective relay | |
| CN112072699A (en) | Photovoltaic inverter and control method thereof | |
| CN220924038U (en) | Angular radar communication control circuit and vehicle control system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17901637 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17901637 Country of ref document: EP Kind code of ref document: A1 |