Blue Star

Blue Star

星期五, 27 05月 2022 11:06

MQB-sniffer for Volkswagen Golf MK7

CAN-BUS sniffing for Volkswagen Golf MK7 (and most likely other MQB platform cars). Currently this is more a work log for future reference.

This example shows you how to track the 2-D or 3-D position of a Bluetooth® low energy (LE) node by using Bluetooth® Toolbox.

Using this example, you can:

  • Simulate direction-finding packet exchange in the presence of radio frequency (RF) front end impairments, path loss, and additive white Gaussian noise (AWGN).

  • Track the node position by using Bluetooth direction-finding features and position estimation techniques.

  • Improve the location accuracy by using a Kalman filter from Sensor Fusion and Tracking Toolbox™.

星期五, 27 05月 2022 07:59

Bluetooth Protocol Stack

The Bluetooth® Special Interest Group (SIG) [1] and [2] defines the protocol stack for Bluetooth low energy (LE) and Bluetooth basic rate/enhanced data rate (BR/EDR) technology. The fundamental objectives of these specifications is to develop interactive services and applications over interoperable radio components and data communication protocols.
星期五, 27 05月 2022 07:26

Bluetooth Low Energy Communication

Bluetooth Low Energy (formerly known as Bluetooth Smart) is a wireless communication protocol that uses Bluetooth with low-power peripheral devices. These peripheral devices include fitness trackers, health monitors, and personal electronics such as smartwatches or wireless headphones.
星期六, 21 05月 2022 20:15

MOS管源极和漏极的区别

对于绝缘栅NMOS管,接高压为漏端,接低压为源端。PMOS刚好相反。从原理上,NMOS载流子是电子,由低电压处提供,所以低压端称源端,PMOS载流子是空穴,由高压处提供,所以高压端称源端。
星期六, 21 05月 2022 20:10

MOS管的N沟道与P沟道之间的关系

NMOS的特性,Vgs大于一定的值就会导通,适合用于源极接地时的情况(低端驱动),只要栅极电压达到4V或10V就可以了。

PMOS的特性,Vgs小于一定的值就会导通,适合用于源极接VCC时的情况(高端驱动)。但是,虽然PMOS可以很方便地用作高端驱动,但由于导通电阻大,价格贵,替换种类少等原因,在高端驱动中,通常还是使用NMOS。
普遍用于高端驱动的NMOS,导通时需要是栅极电压大于源极电压。而高端驱动的MOS管导通时源极电压与漏极电压(VCC)相同,所以这时栅极电压要比VCC大4V或10V。如果在同一个系统里,要得到比VCC大的电压,就要专门的升压电路了。很多马达驱动器都集成了电荷泵,要注意的是应该选择合适的外接电容,以得到足够的短路电流去驱动MOS管。

星期五, 13 05月 2022 16:20

电动汽车上CAN报文解析

常用车辆CAN总线通讯协议,大多直接采用SAE-J1939的形式制定。电动汽车首先遇到了电池系统,电机系统等新加入电气需要重新设定PGN码等问题。CAN协议始终处在诸侯割据的状态。在过去的几年中,国家及相关机构也一直在对电动汽车的CAN通讯协议进行研究,希望形成统一的协议体系。统一的CAN协议,首先是零部件供应商的福音。当前主流主机厂,每家都有自己的整车通讯协议,各个供应商,需要根据整车厂的定义,修改零部件的CAN协议。

制定电动汽车的CAN协议,基本的思路是在SAE-J1939的基础上,根据自身电动汽车的需求,做出必要的调整。

工具:1、车厂协议,2、CAN盒模拟器+CANTest软件,3、CAN接收终端(GSM+GPS),4、平台
CANdb++是汽车CAN总线DBC文件的编辑软件。由于官网下载的文件存在bug,在这里我将官网和修复bug的文件一并进行上传(所有的文件都在这里了)。下面提供CANdb++软件的使用教程。
在一些应用场合,我们会直接在应用层Simulink模型中使用CAN Pack和CAN Unpack这两个模块加载DBC文件,进行CAN报文的解析和打包。

瑞驰车友会微信公众号

qrcode for gh 673928177533 258