Search

Hongke's latest articles

HongKe

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

How to map digital/analog signals to CAN/CAN FD telegrams? A one-step guide!

existAutomotive Electronics,Industrial Automationup toIntelligent DevicesIn application scenarios such as temperature, pressure, voltage, speed, etc., how to combine the physical world'sAnalog SignalsThe "Precision Transformation" is CAN/CAN FD BusTransmittable" on the topDigital Messages"What's the best way to do this? This is a central challenge for many engineers and technicians.

In this issue of Rainbow Tech Q&A, we'll combineData Acquisition (DAQ) Module Solution from HTCThe guide provides an in-depth breakdown of the underlying principles and practical steps to provide you with a ready-to-practice guide to signal mapping.

01. Core role of the Data Acquisition Module (DAM)

To realize the mapping of physical signals to CAN/CAN FD messages, theData Acquisition Module is an indispensable core component.

completeData Acquisition SystemIt usually consists of a Sensor, a Signal Conditioning Module, a Data Acquisition Card (i.e., Digital Acquisition Module), and a PC-based Host:

  • Sensor: Responsible for converting physical quantities into telecommunication signals.
  • Signal Conditioning Module: Amplifies, filters and transmits signals.
  • Data Acquisition ModuleThis system converts processed electrical signals into digital form, enabling real-time acquisition of data such as voltage, current, temperature, pressure, humidity, and speed.

Hi-Tech Data Acquisition Module Solution

HONGKE's solution not only supports the acquisition and real-time analysis of various types of data, but can also be imported into the DBC DocumentationIt analyzes signals and visualizes data dynamics through visual curves, enabling accurate monitoring and control of physical quantities. The module hashighly accurate,High sampling rate,High stabilityup toExpandabilityWith the advantages of the new product, it is able to respond to the demand for fast sourcing in complex industrial scenarios, effectively improve production efficiency and optimize production quality.

02. In-depth analysis of conversion principles

In simple terms, physical signals to telegrams can be established as transmission rules through the following three standardized steps:

  1. Quantization: Converts a continuous voltage change or switching state into a definite value.
  2. EncapsulationThe CAN/CAN FD data frame is a data frame that contains the values according to the predefined bit position (Start Bit), length and bit order (Big-endian / Little-endian).
  3. ID & Transmission: Assigns a unique CAN ID(determines bus priority and signal meaning) and follows the electrical and timing rules of the CAN/CAN FD bus for transmitting.

This process establishes a standardized "continuous variable" for the physical world.Digital Identity Card"The "M" is the same as the "M" in the "M".Transportation RulesThe "Digital Communications Network" (DCON) is a digital communications network that ensures the efficient and accurate addressing and transmission of data.

03. Core operational steps

1. Configure the Baud Rate and other related attributes.

This example uses the CAN FD protocol for configuration.

2. Configure message information

exist Services Under the column, select SymbolsIn the new window, the Receive Symbols You can configure the incoming message by right-clicking (same operation in the sending area):

  • Setting the name of the paper with the Message IDThe
  • Select the message type and set the data length (DLC).
  • Timeout is normally set to 0ms by default and can be adjusted according to actual project requirements.

3. Configuration signals

On the left. Signals Column Click Add new Signal Create a new signal and click below Properties Columns edit the signal name (Name) and start-up value (Start-up).

The created signals will be displayed in the Symbols field and can be clicked to further configure key parameters:

  • Data Type: Unsigned / Signed / Float, etc.
  • Start Bit and Data LengthThe
  • Data format: e.g. Intel (Little-endian).
  • Factor/Multiplier and OffsetThe

Configuration reference example: Signal name HK_TEST_1, unsigned type, start bit 16, length 16 bits, Intel format, factor 0.0625, offset 0.

4. Checking and Brushing

After confirming that the configuration of the message ID, signal bit definition, data format, etc. is correct, configure theFlash The configuration file should be saved to the computer at the same time for later reuse or adjustment. It is recommended to save the configuration file to your computer at the same time for later reuse or adjustment.

5. Presentation of results

After configuration, physical signals such as voltage and current will be successfully mapped to the target CAN FD telegram (e.g. 100h frame in the example). Dynamic data changes of physical quantities can be read in real time from the CAN telegram.

Summary of this issue

  • Hardware-based: Ensure that the sensor is properly wired to the module and that the power supply is stable.
  • Configured as a core: Precise signal mapping and parameter definition in the module's accompanying software.
  • DBC for Bridge: The use of DBC files to document the "coding rules" on the sending side and to guarantee lossless "decoding" on the receiving side is the key to system interoperability.
  • Test as a shield: Verify the correctness and accuracy of the data stream in real operation.

Hi-Tech Data Acquisition ModuleIt is based on the above core principles that the solution was developed. It not only maintains excellent processing accuracy, but also supports mapping of multiple data types, perfectly adapting to the signaling needs of different industries. Realization of various data types through DBC files ECU The unified parsing of the data in the system solves the reliability problem of data transmission in the complex system from the root, and realizes low-cost and high-efficiency monitoring and analyzing process.

Rainbow Technology Empowerment

Coverage provided by Hongke CAN/CAN FD,LIN,Automotive Ethernet up to TSN A full range of technical services and customized training courses for master communication protocols such as

Our Training Features:

  • Professional TeachingThe seminar is conducted by domestic and foreign industry technical experts and senior engineers with rich project experience.
  • Combination of theory and practice: Small class size with emphasis on hands-on practice.
  • International Connections: In-depth cooperation with foreign industry associations to provide a forward-looking technological perspective.
  • Flexibility: Support for open classes or customized on-site services at various locations.

Whether you are a technical expert in automotive or industrial automation, or a company with customized development needs, HONGKE offers professional training and technical support.

Other Articles

Hongke Case

HongKeys Solution] How to land CRA compliance? Network security engineer perspective to bring you to understand the logic of compliance and ONEKEY security and compliance platform value.

With the EU's Cyber Resilience Act (CRA) coming into force, product security and supply chain transparency have become mandatory requirements for companies entering the European market, with the CRA requiring manufacturers to establish security mechanisms throughout the entire product lifecycle and to provide SBOM, vulnerability management, and evidence of compliance. With the gradual implementation of the EU Cyber Resilience Act (CRA), product security and supply chain transparency has become a mandatory requirement for enterprises to enter the European market, and the CRA requires manufacturers to establish a security mechanism throughout the product lifecycle and provide SBOM, vulnerability management, and evidence of compliance. The ONEKEY Safety and Compliance Platform helps enterprises to quickly complete compliance diagnosis and vulnerability management, and establish a traceable and verifiable product safety and compliance system.

Read more
Hongke Case

Hongke Solution] Making Compliance Training a "Quantifiable Line of Defense": Using KnowBe4 to Connect the Safety Awareness + Compliance Training Chain

In the context of digital transformation and increasing regulatory requirements, it is often difficult for enterprises to truly reduce human risk if they still manage compliance training and information security awareness training separately, KnowBe4 establishes a closed-loop management model of "test, train, retest, and data feedback" through simulated phishing tests, security awareness training, and the Compliance Plus compliance training library. Enterprises can integrate compliance courses and safety training into end-to-end training governance, and establish a quantifiable, traceable and auditable compliance training system.

Read more
Hongke Case

From 60% to 5%: How Anglo-Eastern built a network security defense in a year's time

Anglo-Eastern Ship Management is a global ship management company managing more than 750 vessels. Faced with more than 32,000 seafarers around the world and the ever-increasing risk of cyberattacks, the company deployed the KnowBe4 HRM+ security awareness training platform to implement continuous employee cybersecurity education and simulated phishing tests. In just one year, the susceptibility rate to phishing attacks dropped from 60% to 5%, the training completion rate exceeded 90%, and employees proactively reported about 200 suspicious emails per day.

Read more

Contact Hongke to help you solve your problems.

Let's have a chat