Multi Source Translation Content

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Multi Source Translation Content

讨论

排序依据:
MPXxx6115A Noise Spec My application requires a noise analysis and I don’t see a specification in the data sheet for noise.  Is that available for the MPXxx6115A ? Re: MPXxx6115A Noise Spec Hi, Unfortunately there is no data about the expected noise value of the sensor itself, but is it involved in the accuracy value mentioned in the datasheet on table 3 on page 5, so, output should be within the MIN and MAX lines in figure 5 of the datasheet.   There is a methods to improve the signal out of the sensor by implementing noise filters to mitigate the effects of sensors noise. You can find this document in the following link: AN1646 “Noise Considerations for Integrated Pressure Sensors”: https://www.nxp.com/docs/en/application-note/AN1646.pdf Regards, Jose Reyes
查看全文
MMA8452Q Accelerometer Motion Detection Issue Hi, I am using MMA8452Q Accelerometer with imx6ULL for my project and programming it using linux platform. I am trying to get the motion detection of accelerometer, for achieving this I have done below register settings in user space: Step 1: Put the device into Standby Mode: Register 0x2A CTRL_REG1 IIC_RegWrite(0x2A, 0x18); //Set the device in 100 Hz ODR, Standby Step 2: Set Configuration Register for Motion Detection by setting the “OR” condition OAE = 1, enabling X, Y, and the latch IIC_RegWrite(0x15, 0xD8) Step 3: Threshold Setting Value for the Motion detection of > 3g Note: The step count is 0.063g/ count • 3g/0.063g = 47.6; //Round up to 48 IIC_RegWrite(0x17, 0x30) Step 4: Set the debounce counter to eliminate false readings for 100 Hz sample rate with a requirement of 100 ms timer. Note: 100 ms/10 ms (steps) = 10 counts IIC_RegWrite(0x18, 0x0A); Step 7: Put the device in Active Mode IIC_RegWrite(0x2A, 0x19); and then I am continuously reading the Register 0x16 (FF_MT_SRC) and ( INT_SOURCE) for detecting the motion. I am trying to check 7th bit of this register which is EA bit. This bit should set when there is motion event occurs. But my test results are as below: Getting Read value from register as 0x1 - when the accelerometer is stable and not moving. and Read value from register as 0x0 - when any little movement in accelerometer is there. But this is not the expected output as my EA bit is never getting set and the value I am reading from FF_MT_SRC register is 0x1 or 0x0, no value change except these two.  And read value of  INT_SOURCE register is 0x0 always. Please let me know, what changes needs to be done to get correct value Thanks in advance. Regards, Pallavi Accelerometers Re: MMA8452Q Accelerometer Motion Detection Issue Hi Pallavi, If an accelerometer is tilted, it can experience acceleration in the range of +1g to -1g, so increasing the threshold value above 1g should help. If your application requires lower threshold (“more sensitivity”), then I would recommend using the transient detection function. For more information, have a look at AN4071 or this example code. Best regards, Tomas Re: MMA8452Q Accelerometer Motion Detection Issue Hi Tomas, Thank you for your response. Your observation is correct. one of the axis is tilted. Can you provide a sample for transient detection? Or increasing threshold will work? How shall I decide the value of threshold? Best Regards, Pallavi Ingole Re: MMA8452Q Accelerometer Motion Detection Issue Hi Pallavi, What is the orientation of your board? Since the accelerometer also measures the projection of the gravity vector on sensing axes, it is possible that one of the enabled axes (X or Y) is tilted, so exceeding the threshold (312.5mg) and triggering the interrupt permanently.  That is also why we recommend using the embedded transient detection function that triggers an interrupt when any of the enabled axes has exceeded a set acceleration threshold disregarding the static acceleration (gravity). Best regards, Tomas Re: MMA8452Q Accelerometer Motion Detection Issue Hi Tomas, I have also referred a sample shared by you. and updated my code.. still the output is not as expected. the code snippet is as below: typedef enum EAccReg{     eMMA8451_STATUS = 0x00,     eMMA8451_OUT_X_MSB,     eMMA8451_OUT_X_LSB,     eMMA8451_OUT_Y_MSB,     eMMA8451_OUT_Y_LSB,     eMMA8451_OUT_Z_MSB,     eMMA8451_OUT_Z_LSB,     eMMA8451_F_SETUP = 0x09,     eMMA8451_TRIG_CFG,     eMMA8451_SYSMOD,     eMMA8451_INT_SOURCE,     eMMA8451_WHO_AM_I,     eMMA8451_XYZ_DATA_CFG,     eMMA8451_HP_FILTER_CUTOFF,     eMMA8451_PL_STATUS,     eMMA8451_PL_CFG,     eMMA8451_PL_COUNT,     eMMA8451_PL_BF_ZCOMP,     eMMA8451_P_L_THS_REG,     eMMA8451_FF_MT_CFG,     eMMA8451_FF_MT_SRC,     eMMA8451_FF_MT_THS,     eMMA8451_FF_MT_COUNT,     eMMA8451_TRANSIENT_CFG = 0x1D,     eMMA8451_TRANSIENT_SRC,     eMMA8451_TRANSIENT_THS,     eMMA8451_TRANSIENT_COUNT,     eMMA8451_PULSE_CFG,     eMMA8451_PULSE_SRC,     eMMA8451_PULSE_THSX,     eMMA8451_PULSE_THSY,     eMMA8451_PULSE_THSZ,     eMMA8451_PULSE_TMLT,     eMMA8451_PULSE_LTCY,     eMMA8451_PULSE_WIND,     eMMA8451_ASLP_COUNT,     eMMA8451_CTRL_REG1,     eMMA8451_CTRL_REG2,     eMMA8451_CTRL_REG3,     eMMA8451_CTRL_REG4,     eMMA8451_CTRL_REG5,     eMMA8451_OFF_X,     eMMA8451_OFF_Y,     eMMA8451_OFF_Z,     eMMA8451_REG_END, }TEAccReg; void test() {         unsigned char uiCTRL_REG1   = 0;         unsigned char ucBuff = 0x18;         /* Open I2c file i2c-0 */         ML_ACC_giI2cFd = I2COpen(I2C_DEV_1);         if(ML_ACC_giI2cFd < 0)         {             printf("Unable to open i2c file\n");         }         if(ioctl(ML_ACC_giI2cFd,I2C_SLAVE_FORCE, MMA8452_I2C_ADDRESS) < 0)         {             printf("\nioctl error\n");         }         else         {             printf(" ioctl success\n");         }         /* Put the device into Standby Mode */         I2CWriteRegisterVal(ML_ACC_giI2cFd,eMMA8451_CTRL_REG1,ucBuff,2,                             MMA8452_I2C_ADDRESS);         ucBuff = 0xD8;         /* Set Configuration Register for Motion Detection by setting          * the “OR” condition OAE = 1, enabling X, Y, and the latch         */         I2CWriteRegisterVal(ML_ACC_giI2cFd,eMMA8451_FF_MT_CFG,ucBuff,2,                             MMA8452_I2C_ADDRESS);         ucBuff = 0x85;         // Set threshold to 312.5mg (5 x 62.5mg )         I2CWriteRegisterVal(ML_ACC_giI2cFd,eMMA8451_FF_MT_THS,ucBuff,2,MMA8452_I2C_ADDRESS);         ucBuff = 0x02;         // Latch enabled, motion detection enabled for X and Y axis         I2CWriteRegisterVal(ML_ACC_giI2cFd,eMMA8451_FF_MT_COUNT,ucBuff,2,MMA8452_I2C_ADDRESS);         ucBuff = 0x04;         /* Enable Motion/Freefall Interrupt Function in the System  */         I2CWriteRegisterVal(ML_ACC_giI2cFd,eMMA8451_CTRL_REG4,ucBuff,2,MMA8452_I2C_ADDRESS);        ucBuff = 0x04;         I2CWriteRegisterVal(ML_ACC_giI2cFd,eMMA8451_CTRL_REG5,ucBuff,2,                             MMA8452_I2C_ADDRESS);         /* active mode      */         uiCTRL_REG1 = 0x29;         I2CWriteRegisterVal(ML_ACC_giI2cFd,eMMA8451_CTRL_REG1,uiCTRL_REG1,1,                             MMA8452_I2C_ADDRESS); while(1) {         I2CReadRegisterVal(ML_ACC_giI2cFd,eMMA8451_INT_SOURCE,&uiIntSourceSystem,1,                            MMA8452_I2C_ADDRESS);         /* Set up Case statement here to service all of the possible interrupts */                    /*Perform an Action since Motion Flag has been set              * Read the Motion/Freefall Function to clear the interrupt             */                    printf("eMMA8451_INT_SOURCE = 0x%x\n",uiIntSourceSystem);             I2CReadRegisterVal(ML_ACC_giI2cFd,eMMA8451_FF_MT_SRC,&uiMotionStatus,1,                                MMA8452_I2C_ADDRESS);             if(isSet(uiMotionStatus,7) == 1)             {                 printf("PlayAlarm\n");             }          printf("uiMotionStatus_ofl = 0x%x\n",uiMotionStatus); } } The output of abov code as below: uiMotionStatus_ofl = 0x89 eMMA8451_INT_SOURCE = 0x4 PlayAlarm uiMotionStatus_ofl = 0x89 eMMA8451_INT_SOURCE = 0x4 PlayAlarm uiMotionStatus_ofl = 0x89 eMMA8451_INT_SOURCE = 0x4 PlayAlarm uiMotionStatus_ofl = 0x88 eMMA8451_INT_SOURCE = 0x4 PlayAlarm uiMotionStatus_ofl = 0x89 eMMA8451_INT_SOURCE = 0x4 PlayAlarm uiMotionStatus_ofl = 0x89 eMMA8451_INT_SOURCE = 0x4 PlayAlarm uiMotionStatus_ofl = 0x88 eMMA8451_INT_SOURCE = 0x4 Here it is detecting the movement, but I am still confused in output I am getting.. why am I getting the Play alarm in every read? As per my understanding I should get it after device movement. Please correct me If I am wrong. Best Regards, Pallavi Ingole Re: MMA8452Q Accelerometer Motion Detection Issue Hi  Tomas, I have performed the I2C communication test as per suggestion given by you. Please find the below snippet and output of it #define MMA8452_I2C_ADDRESS   0x1D  //!< MMA8452 Address #define WHO_AM_I_REG_ADDR 0x0D     //!< MMA8452 WHO AM I Register Address #define WHO_AM_I_REG_VAL 0x2A        //!< MMA8452 WHO AM I Register Value #define I2C_SLAVE_ADDR_ACC 0x1D        //!< MMA8452 I2C Slave Address void AccelerometerTest(void) {     int iI2cFd = -1;     unsigned char ucRegVal = 0;     unsigned char usXYZraw[6] = {0} ;     unsigned char uiCTRL_REG1 = 0;     unsigned short uiX_Axis = 0xFFFF,uiY_Axis = 0xFFFF,uiZ_Axis = 0xFFFF;     float Xout_g = 0.0f, Yout_g = 0.0f, Zout_g = 0.0f;         iI2cFd = I2COpen(I2C_DEV_1);     if(iI2cFd < PASS)     {         I2CClose(iI2cFd);         ires = FAIL;     }     /// Read the WHO_AM_I register of MMA8452q     while(1)     {         I2CReadRegisterVal(iI2cFd, WHO_AM_I_REG_ADDR, &ucRegVal,1, I2C_SLAVE_ADDR_ACC);         if(ucRegVal != WHO_AM_I_REG_VAL)         {             printf("Accelerometer Test Failed\n");             printf("ucRegVal_test_value = 0x%x\n",ucRegVal);              I2CClose(iI2cFd);             ires = FAIL;         }         else         {           printf("accelerometer test Passed\n");         }         printf("ucRegVal_test_value = 0x%x\n",ucRegVal);         usleep(50000);         I2CReadRegisterVal(iI2cFd,eMMA8451_OUT_X_MSB,&usXYZraw[0],6,                 MMA8452_I2C_ADDRESS);         printf("\nusXYZraw[0]_XMSB = %d\n", usXYZraw[0]);         printf("usXYZraw[1]_XLSB = %d\n", usXYZraw[1]);         printf("usXYZraw[2]_YMSB = %d\n", usXYZraw[2]);         printf("usXYZraw[2]_YLSB = %d\n", usXYZraw[3]);         printf("usXYZraw[2]_ZMSB = %d\n", usXYZraw[4]);         printf("usXYZraw[2]_ZLSB = %d\n", usXYZraw[5]);         // 12-bit accelerometer data         uiX_Axis = ((short) (usXYZraw[0]<<8 | usXYZraw[1])) >> 4;             // Compute 12-bit X-axis acceleration output value         printf("\nuiX_Axis = 0x%x\n", uiX_Axis);         uiY_Axis = ((short) (usXYZraw[2]<<8 | usXYZraw[3])) >> 4;             // Compute 12-bit Y-axis acceleration output value         printf("uiY_Axis = 0x%x\n", uiY_Axis);         uiZ_Axis = ((short) (usXYZraw[4]<<8 | usXYZraw[5])) >> 4;             // Compute 12-bit Z-axis acceleration output value         printf("uiZ_Axis = 0x%x\n", uiZ_Axis);         // Accelerometer data converted to g's         Xout_g = ((float) uiX_Axis) / SENSITIVITY_2G;              // Compute X-axis output value in g's         printf("\nXout_g = %f\n", Xout_g);         Yout_g = ((float) uiY_Axis) / SENSITIVITY_2G;              // Compute Y-axis output value in g's         printf("Yout_g = %f\n", Yout_g);         Zout_g = ((float) uiZ_Axis) / SENSITIVITY_2G;              // Compute Z-axis output value in g's         printf("Zout_g = %f\n", Zout_g);     } } Output of above code : accelerometer test Passed ucRegVal_test_value = 0x2a usXYZraw[0]_XMSB = 81 usXYZraw[1]_XLSB = 212 usXYZraw[2]_YMSB = 145 usXYZraw[2]_YLSB = 252 usXYZraw[2]_ZMSB = 217 usXYZraw[2]_ZLSB = 124 uiX_Axis = 0x51d uiY_Axis = 0xf91f uiZ_Axis = 0xfd97 Xout_g = 1.278320 Yout_g = 62.280273 Zout_g = 63.397461 accelerometer test Passed ucRegVal_test_value = 0x2a usXYZraw[0]_XMSB = 81 usXYZraw[1]_XLSB = 212 usXYZraw[2]_YMSB = 145 usXYZraw[2]_YLSB = 252 usXYZraw[2]_ZMSB = 217 usXYZraw[2]_ZLSB = 124 uiX_Axis = 0x51d uiY_Axis = 0xf91f uiZ_Axis = 0xfd97 Xout_g = 1.278320 Yout_g = 62.280273 Zout_g = 63.397461 accelerometer test Passed ucRegVal_test_value = 0x2a usXYZraw[0]_XMSB = 81 usXYZraw[1]_XLSB = 212 usXYZraw[2]_YMSB = 145 usXYZraw[2]_YLSB = 252 usXYZraw[2]_ZMSB = 217 usXYZraw[2]_ZLSB = 124 uiX_Axis = 0x51d uiY_Axis = 0xf91f uiZ_Axis = 0xfd97 Xout_g = 1.278320 Yout_g = 62.280273 Zout_g = 63.397461 accelerometer test Passed ucRegVal_test_value = 0x2a Output  seems to be correct. Please confirm. Best Regards, Pallavi Re: MMA8452Q Accelerometer Motion Detection Issue Hi Pallavi, First off, I would recommend to check if your I2C communication is running properly Could you please try to read the WHO_AM_I register (0x0D) and all output data registers (0x01 – 0x06) while the device is perfectly level and not moving? The MMA8452Q ID is 0x2A, the X/Y axes should read ~0g and the Z axis should read ~1g, which is +1024 at ±2g range. If you are reading correct data, then you can focus on the motion detection function itself. Seems like you are using the settings from AN4070. The threshold value of 3g might be high, try to decrease it to 1.26g (0x14) for example. If you read first the FF_MT_SRC register and the INT_SOURCE register after it, then it is normal that the INT_SOURCE register is 0x00 as the SRC_FF_MT bit is cleared by reading the FF_MT_SRC register. Have you tried using an interrupt instead of polling the INT_SOURCE (FF_MT_SRC) register?  Here is my example code I used for the FXLS8471Q. Best regards, Tomas
查看全文
Using Freescale Sensor Fusion Library with FRDM-SFUSION board Hello,   I am trying to use the FRDM-SFUSION kit with the k64f MCU to do some motion sensing. However, I am having a little trouble understanding exactly how to implement the functions that are provided. What I want to do is grab linear acceleration data in NED coordinates. I think I need to use  the fRun_9DOF_GBY_KALMAN function on line 1090 of the fusion.c file. In this function (lines 1519-1513) is see this   // gravity positive NED   pthisSV->faGlPl[X] = -pthisSV->faGlPl[X];   pthisSV->faGlPl[Y] = -pthisSV->faGlPl[Y];   pthisSV->faGlPl[Z] = -(pthisSV->faGlPl[Z] - 1.0F);   break;   With a comment above saying:   // compute the linear acceleration in the global frame from the accelerometer measurement (sensor frame). // de-rotate the accelerometer measurement from the sensor to global frame using the inverse (transpose) // of the a posteriori rotation matrix   It seems to me that this is the code that I am looking for. My problem is that there are a lot of inputs to this function, and I am not sure what all of them mean. Here is the entire function that I am trying to call.   void fRun_9DOF_GBY_KALMAN(struct SV_9DOF_GBY_KALMAN *pthisSV, struct AccelSensor *pthisAccel, struct MagSensor *pthisMag, struct GyroSensor *pthisGyro,   struct MagCalibration *pthisMagCal, int16 ithisCoordSystem, int16 iOverSampleRatio)   I am wondering if someone could just give me an example of how to call this function. Again, I am using the NED coordinates, and don't care about over sampling.   Also, once I have called this function, would assigning the values look something like this?   accx = SV_9DOF_GBY_KALMAN.faGlPl[X] SensorFusion Re: Using Freescale Sensor Fusion Library with FRDM-SFUSION board We never used the Blue LED in the V4 code so we deleted it in Processor Expert for V5. You've got some legacy files from V4 in the your Generated_Code folder. Delete that folder and then re-generate all files from Processor Expert and you'll see the Blue LED files have gone. Re: Using Freescale Sensor Fusion Library with FRDM-SFUSION board Thanks this got it working! Although this doesn't worry me too much, for some reason after awhile all of the blue led files are not being built. This is not essential to what I am trying to do, but seems strange. The red and green files are still being built, just not the blue. Any ideas why? Re: Using Freescale Sensor Fusion Library with FRDM-SFUSION board In user_tasks.c just add these lines to tell your file about the 9 axis sensor fusion structure: #include  "build.h" #include "types.h" before the line: #include "mqx_tasks.h" Re: Using Freescale Sensor Fusion Library with FRDM-SFUSION board I did find the change to CHX, CHY and CHZ. I made those changes that that fixed part of the problem. But I am still getting an error that says "invalid use of undefined type 'struct SV_9DOF_GBY_KALMAN'" I am not sure what I need to do to fix this. I have looked at the other sources and it seems like they call this structure the same way, but I am only getting this error for the code I have written in the user_tasks.c Again, my code looks like this. // PUT YOUR CODE HERE accx = thisSV_9DOF_GBY_KALMAN.fAccGl[CHX]; accy = thisSV_9DOF_GBY_KALMAN.fAccGl[CHY]; Description Resource Path Location Typeinvalid use of undefined type 'struct SV_9DOF_GBY_KALMAN' user_tasks.c /FSFK_K64F/Sources line 146 C/C++ Problem Re: Using Freescale Sensor Fusion Library with FRDM-SFUSION board The FRDM*** projects are simplified versions that run on the Freedom boards using the sensors available on that Freedom board. The FSFK*** are the full versions that require the MQX-Lite RTOS and require the gyroscope sensor available on shield boards to run the most sophisticated algorithms. We changed the compile time constants X, Y, X to CHX, CHY, CHZ (with the same values 0, 1, 2) to avoid conflict with Processor Expert which was also using those same names. So just change your previous references in your code to X, Y, Z to CHX, CHY, CHZ. Re: Using Freescale Sensor Fusion Library with FRDM-SFUSION board I downloaded the KDS 5.0 as you suggested. I am curious though because the library says FSFK K64F, but this board is the FRDM K64F. This doesn't seem to be a problem though. I am getting an error during building. I did manage to get rid of X and Y being undeclared by changing the to 1 and 2. But I couldn't find this anywhere else in the code. Do you know if these correspond? Also, here is the code that I dropped into the UserMediumFrequencyTaskRun() // PUT YOUR CODE HERE accx = thisSV_9DOF_GBY_KALMAN.fAccGl[X]; accy = thisSV_9DOF_GBY_KALMAN.fAccGl[Y]; Re: Using Freescale Sensor Fusion Library with FRDM-SFUSION board First, may I suggest you download the Version 5.00 library from freescale.com/sensorfusion?  We like it a lot more than the 4.22 library, which is what you are using.  The new version has better convergence properties. Next, I think you are overthinking it.  Since you are using the K64F board, you can use the prebuilt project and simply read the values you want out of the global data structures after the fusion call.  You are going to want to read it like this: float accx = thisSV_9DOF_GBY_KAL.fAccGl[X]; Put that call at the bottom of UserMediumFrequencyTaskRun() inside user_tasks.c and you should be good to go. If you want to see how the Kalman function is called, look at Fusion_task() in mqx_tasks.c.
查看全文
mma8451& FIFO buffer Hi, I'm using the MMA8451 to make a tilt sensor. Everything is Arduino based using the classic ATmega328P. My intention is to use the FIFO buffer to get it full with 32 samples @ 800HZ in active mode without any sleep function. In the setup function I set the register like this:   writeRegister8(MMA8451_REG_CTRL_REG2, 0x40); // reset   while (readRegister8(MMA8451_REG_CTRL_REG2) & 0x40);   writeRegister8(MMA8451_REG_CTRL_REG1, 0x00);     // Standby mode (DEACTIVE) @ 800Hz   writeRegister8(MMA8451_REG_FIFO_SETUP, 0x60);    // FIFO in circular buffer. watermark set to 32   writeRegister8(MMA8451_REG_CTRL_REG2, 0x02);     // High resolution   writeRegister8(MMA8451_REG_CTRL_REG3, 0x02);     // push-pull active-high   writeRegister8(MMA8451_REG_CTRL_REG4, 0x40);     // FIFO interrupt enabled   writeRegister8(MMA8451_REG_CTRL_REG5, 0x40);     // Interrupt is routed to INT1 pin   writeRegister8(MMA8451_REG_CTRL_REG1, 0x01);     // Active mode and reduced noise mode. ODR = 800Hz   attachInterrupt(0, INT0_ISR, RISING);      // for the accelerometer FIFO register reading and at the beginning I have the interrupt where I would have to read all the 32 samples. void INT0_ISR() {   // For an I2C bit rate of 400 kHz, FIFORead(32) + 3 μs = 4.878 ms.   for (byte i=1; i<=OSR; i++)   {     // Read the 'raw' data in 14-bit counts     readAcceleration(&x, &y, &z);   } But anything works because I'm not able to get the buffer empty reading all the values. Basically the interrupt pin stays high forever. Even I tried to clear the flag interrupt without success   readRegister8(MMA8451_REG_INT_SOURCE);   readRegister8(MMA8451_REG_FIFO_STATUS); Then anyone is able to help me ? Thanks in advance to everyone who spends time for this. Accelerometers Re: mma8451& FIFO buffer Hi Alessio, I would recommend you to take a look at my example code. It is written for the FXLS8471, but it should be identical for the MMA8451Q. I hope it helps. Best regards, Tomas
查看全文
About FXTH87 Family Hi I came across this product from your site when searching for sensors for tpms. https://www.nxp.com/products/sensors/pressure-sensors/tire-pressure-monitoring-sensors/high-pressure-tire-pressure-monitoring-sensor-tpms-family:FXTH8715 Please see the attached photo.I can't find it this way as a module.Can you help me? Have a good day Re: About FXTH87 Family Has the two-axis version of the FXTH8715 made it into a commercially available TPMS sensor?  Re: About FXTH87 Family Thank you very much for your reply. I think I will need a buyer to realize this project. How can I do that? Re: About FXTH87 Family Hi Yasin, This evaluation board is not sold via NXP website or distributors. It is usually provided free of charge by NXP TPMS Application team. In order to ask for the EVB, please create a standard ticket with the following information included: - Brief description of your application, estimated volume and start of production.  - Desired pressure (450kPa, 900kPa or 1500kPa) and desired frequency (315MHz or 434MHz).  - Name, address and phone number of the person who will receive the evaluation board + VAT number of the company. You can also download the gerber files (GRB-TPMS-FXTH871511-434 or GRB-TPMS-FXTH871511-315) from this website. Best regards, Tomas
查看全文
[IMX8M Plus] 如何清除与 ISP 相关的错误信息? 1 我正在尝试为 IMX8M Plus 移植一台新相机(OV4689)。 2 请参阅 AN13713.pdf,下载 isp-imx 和 isp-vvcam(SDK 版本:L5.15.71_2.2.0)。 3 isp-vvcam: 3-1 git clonehttps://github.com/nxp-imx/isp-vvcam.git-b lf-5.15.71-2.2.0 3-2 参见 os08a20,将 OV4689 驱动程序添加到"isp-vvcam/isp-vvcam/vvcam/v4l2/sensor/ov4689" 3-3 为 OV4689 添加专用 ioctl 3-3 export KERNEL_SOURCE_DIR=/home/keng/imx8mp/kernel/linux-imx/ 3-4。/build-all-vvcam.sh v4l2 3-5 scp modules/*[email protected]:~ 3-6 更新 .ko 到 /lib/modules/[kernel git commit id]/ 3-7 重新启动系统 4 isp-imx: 4-1 wgethttps://www.nxp.com/lgfiles/NMG/MAD/YOCTO/isp-imx-4.2.2.19.0.bin 4-2 ./isp-imx-4.2.2.19.0.bin --auto-accept 4-3 参考 os08a20,在 isp-imx/isp-imx-4.2.2.19.0/units/isi/drv/ov4689/ 中添加 OV4689 代码(drv 和 xml)。 4-4。/build-all-isp.sh 完整版版本 4-5 scp -r build_output_release_Full/ [email protected]:~ 4-6 将 build_output_release_Full/opt/bin 更新为 /opt/imx8-isp/bin/ 4-7 重新启动系统 4-8 检查 isp 服务(ps -x | grep isp) 4-9 运行测试应用程序 (/opt/imx8-isp/bin/video_test -w 2688 -h 1520 -f RAW8 -t 2 -m 0) 4-10 错误信息如下 请问是哪个步骤导致了问题? 无法找到错误信息的代码位置 请问您能否提供一些建议? 非常感谢!! Re: [IMX8M Plus] How to slove error messages related to ISP ? 您好: 1.我知道 isp-imx 和 isp-vvcam 是由 yocto 2 开发的。 上面的过程与它是否在 yocto 中无关(同样的移植方法), 而 AN13713.pdf 解释了如何添加新摄像机 3。 我只是不确定这个错误消息来自哪里,可能是 isp_media_ server 4。尝试将 pr_info 添加到内核驱动程序(isp-vvcam 中的 ov4689.c),看起来它运行正常 5. 如果能找到错误信息的关键代码,应该可以解决这个问题 ,您能提供一些思路或方法吗?期待您的回复! Re: [IMX8M Plus] How to slove error messages related to ISP ? 你好 你必须在 yocto 中构建完整镜像,它是 ISP-imx 附带的。 此致问候
查看全文
在 -20 英寸汞柱 - 25 磅/平方英寸范围内使用哪种 NXP 压力传感器可以补偿海拔高度的变化? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 基本上,需要能测量 -20 英寸汞柱 - 25 磅/平方英寸范围内的真空和压力,并能对海拔高度进行补偿。范围可以扩大。至少 0.1 分辨率。 价格是一个因素,因为这将在生产板上使用。如果可能,输出范围为 0-4.7V。(可以选择数字化,但不是首选)。 我对压力传感器的了解不多。看来我可能需要通风设备?我们目前在设计中使用 MPXH6400,但它是密封的,据我所知,它不能补偿大气的变化。 请同时链接 3d STEP 模型。(我真希望知道你们是怎么找到这些东西的)。 干杯 -马特 压力传感器 Re: Which NXP pressure sensor to use for -20 in hg - 25 psi that will compensate for changes in altitude? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,马特、 对于延迟回复,我个人深表歉意。 当您说需要一个从-20 in hg 到 25 positive psi 的传感器时,您指的是从 -67.72 kPa 到 172.369 kPa,对吗?您是指 0 至 172.369 千帕吗?为什么使用不同的单位? 您可以参考以下建议: - MPXx4115 : -115 至 115kPa 真空集成压力传感器 -MPXx2200:差压、表压和绝对压力传感器(0 至 200kPa) 请告诉我是否理解了您的问题。我很乐意帮助您找到正确的设备。 此致, 戴维 Re: Which NXP pressure sensor to use for -20 in hg - 25 psi that will compensate for changes in altitude? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 请赶紧回复。 需要一个可在 -20 英寸汞柱至 25 正磅/平方英寸范围内工作的传感器。它必须是差分或仪表的(因为我们显示的是大气的升压/真空参考)。 我试过了 MPX4250DP,但只能达到 -2 英寸(.072v),这不适用于我们的设备。 先行致谢。 -马特 Re: Which NXP pressure sensor to use for -20 in hg - 25 psi that will compensate for changes in altitude? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 感谢大卫的回复!很抱歉,我认为我的问题歪曲了一些信息。 我想从 -20 in hg 到 25 psi。 例如,我想测量发动机的增压和真空度。 在这种情况下,MPX4250DP 可以工作吗? 感谢您发送 STEP 模型链接!!非常感谢。恩智浦 FTW 谢谢  -马特 Re: Which NXP pressure sensor to use for -20 in hg - 25 psi that will compensate for changes in altitude? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,马特、 感谢您的来信。 实际上,MPXH6400 是一种绝对压力传感器,这意味着压力施加在传感器的端口 P1 上,而传感器的端口 P2 是真空密封的参考。   通常,测量真空的一种方法是使用压差传感器,将压力侧(P1)置于大气压力下,并在真空侧(P2)施加真空压力。   您只需记住,要保持 P1> P2。       如果您需要使用大气压力作为参考,则可以使用表压传感器,例如: MPXV6115V、-115 至 0 kPa、压力表和绝对压力传感器。   请在此处找到有关推荐设备的更多信息。       关于您的最后一个请求,请通过以下链接查看恩智浦社区提供的 3D STEP 模型:   3D STEP 模型:一体式软件包箱 344-15 3D STEP 模型:带轴向单端口外壳的一体式软件包 867F-03 3D STEP 模型:带双侧端口的一体式封装外壳 867C-05 3D STEP 模型:带侧端口的一体式封装外壳 867B-04 3D STEP 模型:MPL3115a2 LGA 8 封装 3D STEP 模型:SSOP 轴向端口软件包 1317A 3D STEP 模型:SOP 双侧口封装_1351-01 3D STEP 模型:SOP 顶部侧端口包装_1369-01 3D STEP 模型:SOP 轴向端口封装_482A-01   希望这些信息对你有用。如果您需要更详细的信息,请告诉我。 此致, 戴维
查看全文
Clarification of MPXV differential pressure sensors Hi, I have some questions about differential pressure sensors:. Which footprint configuration do the following sensors have? Style1 or Style2? MPXV7025DP MP3V5010DP MPXV5010DP Can single direction pressure sensors like MP3V5010DP, MPXV5010DP, MPXV5050DP, MPXV5100DP withstand negative pressures (P2 > P1) without permanent demage? If so how much? In the datasheet of MPXV7025DP it states "The pressure sensor is designed to operate with positive differential pressure applied, P1 > P2". Is it a typo? It should be able to measure negative pressures down to -25kPa. I found in forum answers and even in application note like AN4325 Rev. 1, 12/2012 that the 5V integrated type differential pressure sensors can work with lower supply voltages like 3-3.3V, the output voltage scale is radiometric. Can you give some more detail about supply voltages and measurement accuracy? Does it have limitations if only 3.3V supplied instead of 5V? Earlier forum source: https://community.nxp.com/t5/Sensors/Is-it-possible-to-use-MPXV7025DP-sensor-from-3-3V-power-supply/m-p/479526 Thank You for clarifying these questions, Pista Re: Clarification of MPXV differential pressure sensors Hello, I hope all is great with you. Thank you for using the NXP communities. 1. The STYLE 1 is useful for these devices. 2. Such devices are not designed to operate with negative pressure. The negative pressure can cause permanent damage to devices that are not designed to handle negative pressure. I know that some customer leave P1 open to the atmosphere and then apply “negative pressure” to P2 using the atmospheric pressure as a reference. Please note that P1 must be greater than P2 all the time. 3. You are correct, in this case the device features a pressure range from -25 to 25 kPa. It is designed to operate in negative and positive pressure. 4. Yes, they do. In this case the device is ratiometric, so the output voltage of the device will be lowered by the same amount as you lower the supply voltage. All the parameters will have a correlation to the supply voltage. I hope this information helps. Regards, David
查看全文
Arduino用MPXV6115Vの使い方 MPXV6115Vを入手したばかりで、吸引装置の内部圧力を測定するために使おうとしています。Arduinoでこのセンサーを使う方法に関するリソースが見当たらないので、サンプルコードのリンクやこのセンサーの設定方法を教えていただける方はいらっしゃいますか?よろしくお願いします。 Re: Getting started with MPXV6115V for Arduino こんにちは、ジェームズ。 このセンサーを Arduino ボードに接続するのは簡単です。 これは 5V、温度補償および校正済みの真空圧力センサーです。フルスケール出力( P1とP2の間に圧力差がない)は標準です。4.6Vで出力は1kPaあたり38.26mVです。Arduino の一般的な 5V 電源の 10 ビット ADC を考慮すると、各 ADC ステップは約 4.88mV (5V/1024) または 127.5Pa に相当します。 ピンには次のように番号が付けられています。 SO、Arduino 5V をセンサー ピン 2 に接続します。Arduino GND をセンサー ピン 3 に接続します。Arduino アナログ入力 (たとえば A0) をセンサー ピン 4 に接続します。 アナログ値を読み取り、シリアル モニターに書き込みます: http://arduino.cc/en/Tutorial/ReadAnalogVoltage それが機能している場合は、実際の圧力を計算し始めることができます。 お役に立てれば幸いです。 よろしくお願いいたします。 トーマス
查看全文
FXOS8700CQ加速度センサの校正 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 温度調節機能を備えたシンプルなオーウェンを再構築してリフロー処理を行った後、加速度センサのX、Y、Z値のオフセット値に問題が発生しました。ランプダウンは非常に粗く、オーウェンのドアを少し開けるだけです。 4G範囲の加速度センサの生の値は、X=-470、Y=-642、Z=-252です。 これらの値は大きくずれているため、OFF_X、OFF_Y、OFF_Zで調整することはできません。 私が得た最高のものは次のとおりです。 SPI_WriteFXOS(OFF_X, 0b01110111); => ~0 mg SPI_WriteFXOS(OFF_Y, 0b01111111); => ~-130 mg SPI_WriteFXOS(OFF_Z, 0b00111111); => ~0 mg Q1) 適切なリフローによる製造において、PCB フットプリントはキャリブレーション値にどの程度影響しますか? (はんだ付けを簡素化するために、パッドは大幅に長くなっています) Q2) テスト目的で Y 値に +130 を追加するだけで、Y 主導のダイナミック レンジが縮小する以外にどのような影響がありますか? 加速度センサ 磁気センサ Re: FXOS8700CQ Accelerometer calibration <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 回答してくれてありがとう、デイビッド! 製造のための正しいリフロー温度曲線を探しましたが、一般的な指示しか見つかりませんでした。FXOS8700 のリフロー温度グラフはありますか? よろしくお願いいたします。 ハンス・ヘンリック Re: FXOS8700CQ Accelerometer calibration <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、ハンス。 返答が遅くならないように願っています。 プリント回路基板 (PCB) レイアウトは、全体の設計の重要な部分です。表面実装パッケージのフットプリントは、PCB とパッケージ間の適切なはんだ接続インターフェースを確保するために正しいサイズである必要があります。正しいフットプリントであれば、はんだリフロー処理時にパッケージが自動的に位置合わせされます。 デバイスの半田付けおよび取り付けのガイドラインとして、以下のアプリケーション ノートを参照してください。文書に記載されている手順を確認して適用することをお勧めします。 設計チェックリストと基板実装ガイドライン 加速度データの感度精度は最大 ±2.5%、ゼロ g レベル オフセット精度ポストボードマウントは ±30 mg まで上昇することに注意してください。 加速度センサを PCB に取り付けた後、わずかなオフセットシフトが発生する可能性があります。追加のキャリブレーションが必要な場合は、オフセットをゼロにするレジスタが 3 つあります。さらに、以下のサンプル プロジェクトに記載されている加速度センサのオフセット キャリブレーション手順をお勧めします。 FXOS8700CQ - ベアメタルのサンプル・プロジェクト 提供された情報が役に立ったかどうか、あるいはさらに質問があるかどうか、お知らせください。 よろしくお願いいたします。 デビッド
查看全文
How to develop user application on MMA9553L, I didn't find any releated SDK and user guide about MMA9553l. I want to add a user application in MMA9553l. I learn that MMA9553l allow user to add a user application ID, and have a user flash space for support user application. But I can't find the SDK and the detail user guide. Intelligent Sensing Framework Re: How to develop user application on MMA9553L, I didn't find any releated SDK and user guide about MMA9553l. Thanks, I have set up my enviroment successfully. Re: How to develop user application on MMA9553L, I didn't find any releated SDK and user guide about MMA9553l. Hi Hanxin, MMA9553L is actually based on MMA9550L with the addition of the pedometer algorithm/application. So in order to add user application ID to MMA9553L, you should refer to AN4129 (Building Custom Applications on MMA9550L/MMA9551L) and its associated CodeWarrior Software project (AN4129SW.zip). This AN was written with CW10.1 but latest version is recommended (i.e. CW10.6) as it includes natively MMA955xL service pack. I'm attaching the CW10.6 Project archive for your convenience. Other important documents are the 2 following Software Reference manuals: - MMA955xLSWRM (MMA955xL Intelligent, Motion-Sensing Platform Software - Reference Manual) - and MMA9553LSWRM (MMA9553LSWRM, MMA9553L Intelligent Pedometer Platform Software Reference Manual - Reference Manual) Regards,    Jacques.
查看全文
FXOS8700CQ low pass filter for tilt sensor? Hi, I am using the FXOS8700CQ strictly for tilt detection. I find that I am getting some high acceleration readings though. I see that I can set the CTRL_REG1 LNOISE bit. Does the HP_FILTER_CUTOFF setting LPF=1 and HPF=1 work as a low pass filter for regular sampling or only for pulse detection? What is the best way to configure this device for reading just the acceleration due to the earth's gravity? Thanks, Ted Accelerometers Re: FXOS8700CQ low pass filter for tilt sensor? Hi Ted, The low pass filter can be enabled for the pulse detection by setting the pulse_lpf_en bit in the HP_FILTER_CUTOFF register. It is always enabled for all the other functions (landscape/portrait, transient, freefall/motion…). The low pass filter is a simple 1st order decimation filter, i.e. a moving average filter followed by a down-sampling. Its cut-off frequency depends on ODR and MODS settings. The best way to configure the FXOS8700CQ for tilt sensing is using the lowest possible ODR (ideally 1.56 Hz), High Resolution mode (MODS[0:1] = 0b10) with the lnoise bit set.  I hope it helps. Regards, Tomas PS: If my answer helps to solve your question, please mark it as "Correct". Thank you. Re: FXOS8700CQ low pass filter for tilt sensor? Adding that- is a good strategy to lower the sample rate if only concerned about acceleration from the earth's gravity? Will that affect the quality of the sample at all?
查看全文
FXTH87 はゲージ式/差動式ですか、それとも絶対式ですか?タイヤの中にあるので絶対圧であり、大気圧に近い圧力を計測しているものと想定します。基準として気圧センサを追加すれば、0〜1psi以上を測定できるはずです。 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ゼロに近い値を正確に測定できる必要があります。FXTH87はこれに適していますか? Re: Is the FXTH87 a gauge/differential or absolute? Since it is inside a tire I assume it is absolute, and therefore measuring close to atmospheric pressure. If I add a barometric sensor as a reference, I should be able to measure 0-1psi and up. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、ソルヴィさん。 NXP は FXTH87 用の評価ボードやブレークアウト ボードを販売していませんが、テスト目的でボードを製造する場合は無料でダウンロードできる回路図とガーバー ファイルがあります。また、NXP の営業担当者や代理店の FAE と連携している場合は、直接サンプル ボードを注文することもできます。 MPL3115A2 用のボードについては、物事ははるかに単純で、このデバイスにはさまざまなボード オプションがあります。 FRDMSTBC-P3115 : ここでは、Freedom互換ボードまたはMPL3115A2用のブレイクアウトボードを入手できます。 MPL3115A2 ブレークアウト ボード: このデバイス用のシンプルな無料のガーバー ファイルをダウンロードして、独自のボードを製造できます。 すてきな一日を、 ホセ ----------------------------------------------------------------------------------------------------------------------- 注: この投稿で質問が解決した場合は、「正解」ボタンをクリックしてください。ありがとう! ----------------------------------------------------------------------------------------------------------------------- Re: Is the FXTH87 a gauge/differential or absolute? Since it is inside a tire I assume it is absolute, and therefore measuring close to atmospheric pressure. If I add a barometric sensor as a reference, I should be able to measure 0-1psi and up. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、ホセ お返事ありがとうございます。遅くなって申し訳ありません。 はい、これは非常に役に立ちます。ありがとうございます。私はすでにサンプルを注文しました センサ。 センサを PCB テストボードに取り付けることができるかどうかご存知ですか? 改めて感謝申し上げます。 ソルヴィ 2016年10月25日(火)午後2時49分、reyes Re: Is the FXTH87 a gauge/differential or absolute? Since it is inside a tire I assume it is absolute, and therefore measuring close to atmospheric pressure. If I add a barometric sensor as a reference, I should be able to measure 0-1psi and up. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、ソルヴィさん。 まず最初に言わせてください…わあ、なんて美しいトラックなのでしょう!! ご説明いただきありがとうございます。これで、あなたのアプリケーションと、気圧計と圧力センサを組み合わせる理由が理解できました。 さて、圧力要件、環境、最終用途に応じて、 FXTH87 ファミリを使用することをお勧めします。これらのデバイスはオートモーティブデバイスとして認定されているだけでなく、温度範囲が広く、ワイヤレス TPMS (タイヤ空気圧監視システム) を作るための無線がすでに組み込まれているためです。 圧力範囲に基づいて、FXTH87 ファミリの次の部品番号のいずれかを使用できます。 * 測定圧力範囲が100~900kPa(約14.5~130 PSI)のFXTH8709xxx。 * 測定圧力範囲が100~1500kPa(約14.5~217.5 PSI)のFXTH8715xx。 「100 kPa(大気圧)から始まる絶対圧センサを使用すれば、気圧センサで高度を補正できるんですよね?」という質問については、答えは「はい」です。気圧計を使用すれば高度と大気圧を測定して補正し、TPMS の基準として使用することができます。 このアプリケーションの基準として、NXP MPL3115A2をお勧めします。残念ながら、このデバイスはオートモーティブ アプリケーション向けに認定されていませんが、温度変化による高度/圧力のドリフトを補正するための温度センサが組み込まれているのが重要な特徴の 1 つです。 この情報が役に立つことを願っています。 すてきな一日を、 ホセ ----------------------------------------------------------------------------------------------------------------------- 注: この投稿で質問が解決した場合は、「正解」ボタンをクリックしてください。ありがとう! ----------------------------------------------------------------------------------------------------------------------- Re: Is the FXTH87 a gauge/differential or absolute? Since it is inside a tire I assume it is absolute, and therefore measuring close to atmospheric pressure. If I add a barometric sensor as a reference, I should be able to measure 0-1psi and up. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ホセ ご返信ありがとうございます。 私のプロジェクトについて少し説明する必要があります。 アイスランドには低接地圧車両の歴史が長くあります。つまり タイヤの空気圧がほぼゼロpsiまで下がることもあります。 http://arctictrucks.is/#!breytingar-toyota-hilux/hilux-at44-6x6 私はアークティックトラックスと協力してタイヤ空気圧システムを製造しています 運転中にタイヤの空気圧を調節する 雪/地面の状態。現在使用しているセンサはMPX4250、5500です そして5700の差額。 私は現在、ワイヤレスセンサを使用した新しいシステムを構築しています 各タイヤにはゼロに近い圧力を測定できるセンサーが付いています。 「普通の」車の場合、圧力は1-36psi程度になる。 大型トラックの場合、圧力は5〜100psiになる可能性があります。 このシステムは標高1000メートル以上の高地で頻繁に使用されます。 したがって、相対的な基準となる「気圧計」が必要だと私は考えています。 タイヤの空気圧が低い場合、高度によって圧力が大きく変化します。 前述のように、絶対圧力センサーを使用すると 100kPa(大気圧)で補正すれば 気圧センサで高度を測定します。右? お時間をいただきありがとうございます。よろしくお願いします。 良い1日を。 BR ソルヴィ 2016年10月24日(月)午後8時38分、reyes Re: Is the FXTH87 a gauge/differential or absolute? Since it is inside a tire I assume it is absolute, and therefore measuring close to atmospheric pressure. If I add a barometric sensor as a reference, I should be able to measure 0-1psi and up. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、 正解です。FXTH87 内部の圧力センサは絶対型圧力センサですが、FXTH87 に保存されている校正ルーチンとパラメータにより、圧力範囲 (100kPa から 1500kPa) は製造時に選択され、現場で変更することはできません。 ご質問を正しく理解しているか分かりませんが、現地の大気圧を基準として使用することを計画している場合は、代わりにゲージタイプの圧力センサを使用する必要があります。当社の現在のポートフォリオには、そのような低圧力を測定できる絶対圧力センサがないため、ほとんどの絶対圧力センサは 15 kPa (約 2 psi) から圧力を測定できます。 ゲージ圧力センサを使用すると、デフォルトでローカル大気圧が基準となり、0psi (基準と比較して 0 psi) から測定を開始できます。 ゲージ圧力センサの使用がオプションである場合は、圧力範囲をお知らせください。お客様のアプリケーションに最適な部品番号オプションをお勧めします。 すてきな一日を、 ホセ ----------------------------------------------------------------------------------------------------------------------- 注: この投稿で質問が解決した場合は、「正解」ボタンをクリックしてください。ありがとう! -----------------------------------------------------------------------------------------------------------------------
查看全文
MMA7660FC 中的快速和慢速过滤器 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />   下午好,我正在使用 mma7660FC 开发一个应用程序,我已经阅读了有关各种功能的资料,但不明白这部分中提到的过滤器是指什么。 文件:https://www.nxp.com/docs/en/data-sheet/MMA7660FC.pdf 加速度传感器 Re: Filters fast and slow in acc MMA7660FC <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 我手头有 mma7660fc :c,知道我提到的过滤器吗? Re: Filters fast and slow in acc MMA7660FC <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 您好, 我不建议在新设计中使用 MMA7660FC,因为它已经到了停产状态。 请考虑使用FXLS8471Q(具有 SPI 和 I2C 接口)或MMA865xFC(仅 I2C)加速度计。 顺祝商祺! 托马斯
查看全文
压力传感器响应时间和预热时间 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 我正在研究 MPXV7007 系列(-7kpa 至 +7kpa)压阻式压力传感器的数据表。 我对传感器响应时间和预热时间这两个术语有点混淆。 响应时间 (tr) 为1 毫秒。 响应时间的定义是,当压力发生特定阶跃变化时,输出量的增量变化从 10% 到最终值的 90% 所需的时间 数据表中给出的预热时间为20 毫秒 ,其定义为 预热时间是指压力稳定后,产品达到规定电压所需的时间。 传感器的输出范围为 0.5 至 4.5V。 现在假设传感器的压力为 0 千帕,而我的阶跃变化为 7 千帕。根据响应时间的定义,传感器将在 1 毫秒(响应时间)内达到4.5V 的 90% ,即4.05V。 输出电压从 90% 升至 100% (即从4.05V 升至 4.5V)还需要 20 毫秒。(热身时间) 这样扣除对吗? 压力传感器 Re: Pressure Sensor Response time and Warm-Up time <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好 数据表中对预热时间的定义有点误导。预热时间仅适用于开机时。部件通电后的响应时间为 1 毫秒。 顺祝商祺! 托马斯
查看全文
歩数計アプリに推奨される超低消費電力加速度センサチップ。 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、 私たちは一時的なアプリケーションで MMA8451Q を使用しており、問題なく動作しています。 私たちは歩数計アプリケーション用の超低消費電力チップを求めているわけではありません。 問題は、MMA8451Q がそのようなアプリケーションに適合できるかどうかです。そのアプリ用に設定する方法についての説明はありますか? 適切に設定し、そのデータを処理して歩数をカウントするための計算部分を ucontroller に組み込むためのサンプル コードはありますか? ありがとうございます アリー 加速度センサ Re: Recommended Ultra LowPower Accelerometer chip for pedometer app.? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、アリーさん。 あなたが説明した不連続な歩行の使用例では、歩数カウントの精度と電流消費量の点で最適なトレードオフは、歩数計の自動サスペンド機能を使用することです。50/50 の比率 (歩行/静止アクティビティの持続時間) を想定した場合の予想消費量は約 100µA になります。 Re: Recommended Ultra LowPower Accelerometer chip for pedometer app.? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ジャック こんにちは、 もう1つ質問がありますか? 低消費電力については、大体何を期待/計画/考慮すればよいでしょうか? BR、 アリー Re: Recommended Ultra LowPower Accelerometer chip for pedometer app.? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ジャック こんにちは、 迅速なご返信ありがとうございます。 PDF の詳細をさらに詳しく調べてみると、200uA の話であれば状況はずっと良くなり、さらに大幅に削減されると思われます。 私は PDF を大まかに最後まで読み、最適化の結論の最後の箇条書きに到達しました。私の質問は、歩行が連続的でない場合 (たとえば、5 秒間歩く、5 秒間立つなど)、歩数計は何歩カウントを失う可能性があるかということです。私たちが歩数計を牛の飼育用に開発しようとしているので、このように質問します。 よろしくお願いいたします。 アリー Re: Recommended Ultra LowPower Accelerometer chip for pedometer app.? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、アリーさん。 3.1mA は、MCU がフルスピードで連続的に動作しているときのピーク電流消費量です。これは、約 200µA の歩数計の消費電流を表すものではなく、自律サスペンド モードを使用すると大幅に削減できます。歩数計の動作電流値は、実際には MMA9553L ソフトウェア リリース ノート ドキュメントに記載されています。 電流削減をさらに進めるために、添付のプレゼンテーションでは、MMA9553L の最適化のコツをいくつか説明しています。 よろしく、ジャック。 Re: Recommended Ultra LowPower Accelerometer chip for pedometer app.? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> トーマス こんにちは、 メールとご説明をありがとうございます。 MMA9553L のデータシートから完全に判断できないことの 1 つは、消費電力です。 「RUN モードでの供給電流」の消費電力が 3.1mA の場合、このアプリケーションには大きすぎるため、より低い消費電流の代替製品を提供していただければ幸いです。 よろしくお願いいたします。 アリー Re: Recommended Ultra LowPower Accelerometer chip for pedometer app.? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、アリーさん。 現時点では、MMA8451Q 加速度センサを使用した歩数計アルゴリズムの実装は知りません。 歩数計アプリケーションがプリロードされた加速度センサを備えた ColdFire V1 MCU、 MMA9553Lを強くお勧めします。いくつかの構成レジスタを使用して歩数計アプリケーションの動作をカスタマイズおよび制御し、いくつかのステータス レジスタを使用して測定および計算されたデータを報告することができます。このデバイスの詳細については、 MMA9553LSWRMを参照してください。 よろしくお願いいたします。 トーマス 追伸: 私の回答が質問の解決に役立った場合は、「正解」とマークしてください。ありがとう。
查看全文
MPXHZ6130Aセンサを使用 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> MPXHZ6130A センサを使用しようとしていますが、これらのセンサをコンクリート内に埋め込むことはできますか? Re: using MPXHZ6130A sensor <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、チュエン・グエンさん。 これは難しい質問です。このような環境で圧力センサをテストしたことがないため、完全に確信することはできません。必要な場合は独自のテストを実行する必要がありますが、温度、湿度、振動、コンクリートによってセンサー パッケージに生じる力など、いくつかの要因により、コンクリート内に圧力センサを埋め込むことは不可能だと思います。これらの要因が仕様範囲外の場合、圧力センサが永久的な損傷を受ける可能性があります。 MPXHZ6130A は絶対圧力センサーで、2 つの異なるパッケージで提供されます。1 つはポート付き、もう 1 つはポートなしです。どちらを使用しようとしているのかわかりませんが、どちらの場合も、言及すべき重要な要素があります。どのような状況でも、圧力センサーの上部にあるポート/穴はコンクリートで覆われるか満たされる必要があります。そうしないと、ワイヤボンドとダイ回路を覆っている圧力チャンバーの内部ゲルが劣化し、デバイスに永久的な損傷が発生する可能性があります。また、コンクリートが内部のゲルと接触せず、穴/ポートを覆ってブロックしている場合は、ポート/穴に大きな圧力を加えることができないため、差圧を測定することは非常に困難になります。 すてきな一日を、 ホセ・レイエス ----------------------------------------------------------------------------------------------------------------------- 注: この投稿で質問が解決した場合は、「正解」ボタンをクリックしてください。ありがとう! -----------------------------------------------------------------------------------------------------------------------
查看全文
MMA8652 Tap vs Motion Hi, I have been working with the MMA8652FC 3-axis Accelerometer for quite some time now. I've been playing with the registers, that I can already read data and configure some interrupt. I am also able to create a “sleep-to-wake up” program using TAP detection of the IC. Now, for my next step, I want to able to determine a TAP when in motion. Is it possible? Re: MMA8652 Tap vs Motion Hello Edmon, I have to personally apologize for the long delay it took to come back to you. For a single tap event there are three key parameters to consider. Time Window for the tap signature to cross a threshold and drop below it (PULSE_TMLT) Threshold Value to Trigger the event (PULSE_THSX, PULSE_THSY, PULSE_THSZ) Latency time to hold the event conditions (PULSE_LTCY) In this case, you may modify the pulse Z threshold register in order to define the threshold used by the system. Please let me know if this information is useful for you. If I misunderstood your question, feel free to let me know.  I will be glad to help. Have a great day. David Diaz. Note: If this post answers your question, please click the Correct Answer button. Thank you! Re: MMA8652 Tap vs Motion Hi David, When tapping at the negative side, I sometimes read PULSE_SCR = 0xC4 or 0xC0. Does this value depends on how strong i tap? Regards, Edmon Re: MMA8652 Tap vs Motion Hello Edmon, Accept my apologies for the delay. Indeed, the PULSE_SRC register indicates a double or single pulse event has occurred and also which direction. By reading the register mentioned, you can configure your application in case you want to disregard the Z-axis positive/negative direction. For example, if you tap the device in the Z-axis and negative direction, you will read the PULSE_SRC register as follow: In this case, I would like to recommend a sample project that could be useful for you in order to read the PULSE_SRC register. Please find the sample project at MMA8451Q -Single Tap Detection Bare metal example project . I hope you find it useful. If I misunderstood your question, feel free to let me know.  I will be glad to help. Have a great day. David Diaz. Re: MMA8652 Tap vs Motion Hi David, Thank you for the documents! It helps me a lot but not quite there yet. My follow-up question: By reading PULSE_SRC (0x22), will it show me which side of the IC or board I am tapping? Is tapping at the bottom side mean negative pulse in z-axis?  Will it set bit 2 to 1? As I don’t always get consistent value when I tap at the bottom side. I just want to disregard a pulse (negative?) caused by a tapping the table or something which my board is place. I want only a tap coming from the  top or direct hit/shock. Do you have a better way to do this? Thanks again, Edmon Re: MMA8652 Tap vs Motion Hello Edmon, Thank you for writing to the NXP communities. The Motion is often used to simply alert the main processor that the device is currently in use. When the acceleration exceeds a set threshold, the motion interrupt is asserted. On the other hand, the Tap detection function has various customizing timers, for setting the pulse time width and the latency time between pulses. As a summary, Motion detection detects a threshold and Tap detection detects pulses. Are you planning to route these interrupt sources to the interrupt pins? In case it is useful for you, I would like to recommend the following application notes: 1. AN4070 - Motion and Freefal Detection Using the MMA8451, 2, 3Q​ 2. AN4072 - MMA8451, 2, 3Q Single/Double and Directional Tap Detection I hope this information will be useful for you. If I misunderstood your question, feel free to let me know.  I will be glad to help. Have a great day. David Diaz. Re: MMA8652 Tap vs Motion Hi Anthony, Thanks for the reply. I want to figure out if the TAP detection works when MMA8652FC is moving. I'm not sure how the line is drawn between a tap and motion. As sometimes motion/movement will also generate a "PULSE/TAP" interrupt. Cheers, Edmon Re: MMA8652 Tap vs Motion Hi Edmon, I'm not sure to understand your query. Do you mean by "TAP when in motion" that you want to discard TAP when there is no motion or are you asking if the TAP detection works when the MMA8652FC is moving? Thanks, Anthony
查看全文
FXLS60322AESR2 的 Simulink 模型 您好,这是我第一次注册恩智浦社区账户,它提供的开放环境让我大吃一惊。很高兴见到大家 我长期从事安全气囊控制系统的工作。在我们的应用程序中,我们使用一个板载传感器,其版本为 FXLS60322AESR2。为了更好地进行控制,我们总是需要精确的加速度输入,这就要求模拟仿真模型尽可能精确。所以我真诚地想与恩智浦的工程师建立联系,因为如果有任何关于simulink模型的更新,我也可以在我的系统中更新。 我的邮箱是[email protected]。您可以通过这封邮件联系我,因为我认为这将是一项细致的工作。谢谢! Re: Simulink model for FXLS60322AESR2 谢谢,我会尝试联系他的。 Re: Simulink model for FXLS60322AESR2 你好,兴隆、 感谢您在恩智浦社区注册,很高兴听到您的积极体验。 关于您的问题,很遗憾,我们的 FXLS6 系列中没有适用于 FXLS60322AESR2 或任何其他加速度计的仿真模型。 我们支持汽车运动传感器的系统工程师是 Benoit Marchand 先生,如有任何问题,您可以联系他。 BRs, Tomas
查看全文
磁强计开发板无法启动 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 亲爱的社区 我按照《快速入门指南》中描述的步骤进行了操作: * 从 freescale.com\sensortoolbox 下载软件 * 安装软件 - 未出现错误 * 将 Evalboard 连接到 USB 端口,并将电源开关切换到 "开"(红色指示灯亮起)。 * 已安装 FTDI 驱动程序(已在 “设备管理器” 中选中) * 软件启动 然后出现一个窗口"Loading Freedom Sensor Toolbox(CE) - Please wait..." ,但没有任何反应 有人能帮忙吗? 谢谢! 弗兰克 Re: Magnetometer Development Board does not startup <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 我无法下载 E-Compass 传感器工具箱 v6.1.0.1,显示未找到页面 能否发到我的邮箱[email protected].非常感谢。 我现在真的需要它。我期待着您的回复。 Re: Magnetometer Development Board does not startup <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 亲爱的托马斯 是的,确实是 LFSTBEB3110 磁强计开发板。在您的帮助下,我下载了电子罗盘传感器工具箱,现在可以正常工作了。 也许值得考虑在《快速入门指南》中增加这一细节。 感谢您的快速回复。 此致 弗兰克 Re: Magnetometer Development Board does not startup <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 亲爱的弗兰克 你能说明一下你在使用哪个开发板吗?如果是RD4247MAG3110(LFSTBEB3110),请下载并安装E-Compass 传感器工具箱 v6.1.0.1。 顺祝商祺! 托马斯 PS:如果我的回答有助于解决您的问题,请标记为"正确" 。谢谢。
查看全文