| поискавой системы для электроныых деталей |
|
BMP384 датащи(PDF) 55 Page - Bosch Sensortec GmbH |
|
|
|||||||||||||||||||||||||||||
BMP384 датащи(HTML) 55 Page - Bosch Sensortec GmbH |
|
55 / 58 page ![]() Bosch Sensortec | BMP384 Datasheet 55 | 58 Modifications reserved |Data subject not change without notice | Printed in Germany Document number: BST-BMP384-DS003-11 Revision_1.0_112020 9. Appendix: Computation formular reference implementation The code below gives C implementation of the compensation algorithms discussed in Sec. 3.10. The struct BMP384_calib_data is a structure that contains the calibration coefficients. In addition, the t_lin variable that carries a temperature value over to the pressure compensation. 9.1. Calibration coefficient The calibration coefficients are stored as described in Table 23. The compensation formula is implemented in floating point. Therefore, the coefficient have to be converted into floating point numbers by the following formulas. ������������������������������������_������������1=������������������������������������_������������������������������������_������������1 2−8 ������������������������������������_������������2=������������������������������������_������������������������������������_������������2 230 ������������������������������������_������������3=������������������������������������_������������������������������������_������������3 248 ������������������������������������_������������1=������������������������������������_������������������������������������_������������1−214 220 ������������������������������������_������������2=������������������������������������_������������������������������������_������������2−214 229 ������������������������������������_������������3=������������������������������������_������������������������������������_������������3 232 ������������������������������������_������������4=������������������������������������_������������������������������������_������������4 237 ������������������������������������_������������5=������������������������������������_������������������������������������_������������5 2−3 ������������������������������������_������������6=������������������������������������_������������������������������������_������������6 26 ������������������������������������_������������7=������������������������������������_������������������������������������_������������7 28 ������������������������������������_������������8=������������������������������������_������������������������������������_������������8 215 ������������������������������������_������������9=������������������������������������_������������������������������������_������������9 248 ������������������������������������_������������10=������������������������������������_������������������������������������_������������10 248 ������������������������������������_������������11=������������������������������������_������������������������������������_������������11 265 9.2. Temperature compensation static float BMP384_compensate_temperature(uint32_t uncomp_temp, struct BMP384_calib_data *calib_data) { float partial_data1; float partial_data2; partial_data1 = (float)(uncomp_temp – calib_data->par_t1); partial_data2 = (float)(partial_data1 * calib_data->par_t2); /* Update the compensated temperature in calib structure since this is * needed for pressure calculation */ calib_data->t_lin = partial_data2 + (partial_data1 * partial_data1) * calib_data->par_t3; /* Returns compensated temperature */ return calib_data->t_lin; } |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |