Signal processing method, integrated device and program product
By setting up a routing component within the integrated device, and using signal identifiers to determine correlations and perform intelligent routing, the diagnostic and updating challenges of integrated devices such as electric drive bridges are solved, achieving a simplified maintenance process and accurate signal routing.
Patent Information
- Application Number
- CN202410612180.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-16
- Publication Date
- 2025-11-18
AI Technical Summary
In the existing technology, it is difficult to perform internal component diagnosis and program update operations for integrated devices such as electric drive axles, and users have difficulty distinguishing and directly connecting them, resulting in maintenance difficulties.
By setting up routing components within the integrated device, using signal identifiers to determine correlations, and processing and forwarding signals through an internal bus, intelligent routing is achieved. Users can perform diagnostics and updates through a public interface.
It simplifies the diagnostics and program update operations of integrated devices, reduces user maintenance costs, and ensures that signals are accurately routed to target components, making it suitable for unified management of multiple integrated devices.
Smart Images

Figure CN120979868A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to signal processing and transmission technologies and vehicle technology, and more specifically, to signal processing methods, integrated devices, and computer program products. Background Technology
[0002] With technological advancements, vehicles and other modes of transportation are increasingly adopting integrated systems comprised of multiple components or parts. For example, some electric vehicles use electric drive axles that integrate components such as motors and transmissions. Such integrated systems can increase the overall integration of vehicles, reduce weight and space requirements, and help lower energy consumption and improve overall efficiency.
[0003] Devices such as electric drive axles integrate multiple components or parts that, in some cases, require signal transmission and information exchange with the outside world. For example, diagnostics and software updates of one or more components within the electric drive axle may be necessary for health monitoring and system upgrades. However, integrated devices like electric drive axles typically only provide a common external interface, and users are often unaware of their internal structure and connections. Furthermore, vehicles often contain multiple similar integrated devices; for instance, a vehicle may have a main electric drive axle and a secondary electric drive axle, which are often identical in configuration and difficult to distinguish. Therefore, diagnosing and updating the components of integrated devices presents significant operational challenges for the average user. Summary of the Invention
[0004] To at least partially address the above and other potential problems, embodiments of this disclosure provide signal processing methods, integrated devices, vehicles, and computer program products.
[0005] According to a first aspect of this disclosure, a signal processing method is provided, comprising: receiving a signal via a first bus, the signal being associated with at least one of a diagnostic operation and a program update operation; determining an association between the signal and an integrated device based on an identifier of the signal, the integrated device including a plurality of components; processing the signal and / or forwarding the signal to other components within the integrated device via a second bus within the integrated device in response to determining that the signal is associated with at least one component in the integrated device; and transmitting a processing result for the signal via the first bus, and / or forwarding a processing result for the signal received from other components via the first bus.
[0006] According to a second aspect of this disclosure, an integrated device is provided, comprising a plurality of components, one of which is configured to perform a signal processing method according to the first aspect.
[0007] According to a third aspect of this disclosure, a vehicle is provided that includes the integrated device according to the second aspect.
[0008] According to a fourth aspect of this disclosure, a computer program product is provided, which is tangibly stored on a non-volatile computer-readable medium and includes machine-executable instructions that, when executed, cause a machine to perform the steps of the signal processing method according to the first aspect.
[0009] The summary section is provided to present the chosen concepts in a simplified form, which will be further described in the detailed description below. The summary section is not intended to identify key or principal features of this disclosure, nor is it intended to limit the scope of this disclosure. Attached Figure Description
[0010] The above and other objects, features and advantages of this disclosure will become more apparent from the accompanying drawings, in which like reference numerals generally denote like parts.
[0011] Figure 1 A schematic diagram of an example communication network for a vehicle according to an embodiment of the present disclosure is shown.
[0012] Figure 2 A schematic diagram of an integrated device and its associated bus according to an embodiment of the present disclosure is shown.
[0013] Figure 3 A schematic flowchart of the diagnostic signal and / or program update signal processing procedure according to an embodiment of the present disclosure is shown.
[0014] Figure 4 A detailed schematic diagram of the components of an integrated device according to an embodiment of the present disclosure is shown.
[0015] Figure 5 A schematic diagram of signal transmission of components of an integrated device according to an embodiment of the present disclosure is shown.
[0016] Figure 6 A schematic flowchart of a signal processing method according to an embodiment of the present disclosure is shown. Detailed Implementation
[0017] Embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure will be thorough and complete, and will fully convey the scope of the present disclosure to those skilled in the art. Those skilled in the art can derive alternative technical solutions from the following description without departing from the spirit and scope of the present disclosure.
[0018] The term “comprising” and its variations as used herein signify open inclusion, i.e., “including but not limited to”. Unless otherwise stated, the term “or” means “and / or”. The term “based on” means “at least partially based on”. The terms “an example embodiment” and “an embodiment” mean “at least one example embodiment”. Other explicit and implicit definitions may also be included below.
[0019] As mentioned earlier, components of integrated devices such as electric drive axles may require signal transmission and information exchange with other devices to perform operations such as diagnostics and program updates. However, this operation is difficult for general users. Typically, maintenance equipment needs to be directly connected to the vehicle parts or components requiring diagnostics and updates to complete these operations. However, most components within an integrated device cannot be directly connected to the bus. For example, in an electric drive axle, only the TCU is connected to the vehicle's CAN bus, while components such as the MCU are only connected to the TCU and not to the CAN bus. Therefore, the internal components of an integrated device are usually not directly connectable, or inconveniently connected, to maintenance equipment such as testing machines or diagnostic tools. Furthermore, users are often unfamiliar with the internal structure and connections of integrated devices, and in the case of multiple similar integrated devices, it is difficult for both the equipment and personnel to distinguish between them. Therefore, it is difficult for users to complete diagnostics and program updates for integrated devices such as electric drive axles using traditional diagnostic and update methods.
[0020] Embodiments of this disclosure provide an improved signal processing scheme for integrated devices. In the improved scheme, a component within the integrated device connected to an external bus is used as a routing unit. This component determines whether received diagnostic and / or update signals are associated with the integrated device itself, and if an association is determined, processes and responds to the signal, or forwards it to other components via the internal bus of the integrated device and forwards responses from other components. In this way, components within the integrated device can act as gateway units between the maintenance equipment and the internal network of the integrated device to achieve routing functionality. This routing is implemented intelligently and can route signals or requests with the correct IDs to the internal network of the integrated device. Thus, different signals for diagnostics and program updates can be accurately routed to the internal network of the integrated device according to different conditions. Consequently, users can conveniently and accurately diagnose and update programs for multiple components within the integrated device via a common interface, without needing to understand the internal structure and connections of the integrated device, and without needing to directly connect to the internal components of the integrated device to update programs or perform diagnostics, which reduces user maintenance costs. Furthermore, two or more integrated devices on the bus can be configured using the same software and hardware without information transmission errors.
[0021] Figure 1A schematic diagram of an example communication network for a vehicle 1000 according to an embodiment of the present disclosure is shown. Figure 1 As shown, vehicle 1000 includes bus 1100, integrated devices 1200 and 1300, and electronic control units (ECUs) 1400 and 1500. It is understood that the communication network of vehicle 1000 may also include other components or parts not shown in the figure. As an example, bus 1100 may be a Controller Area Network (CAN) bus and is part of vehicle 1000 for communicating with various components, parts, or units inside or outside vehicle 1000. ECUs 1400 and 1500 may be used to monitor and process sensor information in the vehicle and control the powertrain or actuators in the vehicle. ECUs 1400 and 1500, as well as integrated devices 1200 and 1300, are connected to bus 1100 and can communicate with each other or with other components or units in vehicle 1000 via bus 1100.
[0022] Integrated device 1200 may include multiple components 1210, 1220, 1230, and 1240, and integrated device 1300 may include multiple components 1310, 1320, 1330, and 1340. As an example, integrated devices 1200 and 1300 may be powertrain systems of a vehicle. For instance, integrated devices 1200 and 1300 may be electric axles (eAxles), which integrate components and parts such as automatic transmission control units (TCUs), microcontroller units (MCUs), gearboxes, motors, and electromagnetic pumps. The integrated powertrain system can have a smaller size and higher integration and efficiency. In one example, components 1210 and 1310 may be TCUs for transmission control. The TCU is an important component of the electric axle, which can control or influence the operation of components such as the MCU through the internal network of the electric axle. Components 1220 and 1320 may be MCUs for controlling the traction motor. Components 1230 and 1240, as well as components 1330 and 1340, may be electromagnetic pumps for driving fluids within a vehicle. In some embodiments, integrated devices 1200 and 1300 may have a master-slave relationship. In other words, one of integrated devices 1200 and 1300 may act as a master device, and the other may act as a slave device. For example, integrated device 1200 may be used as a master electric drive axle for active power drive, and integrated device 1300 may be used as a slave electric drive axle for auxiliary power drive. It is understood that the number of integrated devices is not limited thereto, and more integrated devices may be provided. Furthermore, the number of components inside integrated devices 1200 or 1300 may be more or less, and other types of components may be added, or some components may be removed or replaced; the embodiments of this disclosure do not limit this.
[0023] Vehicle 1000 also includes maintenance equipment 1600. Diagnostics and program updates for vehicle parts and components, particularly powertrain equipment such as electric drive axles, are critical for the user. Maintenance equipment 1600 can connect to bus 1100 and utilize bus 1100 to diagnose and update integrated devices 1200 and 1300, as well as ECUs 1400 and 1500, thereby monitoring the health of the devices and ECUs and enabling system and functional upgrades. Alternatively, maintenance equipment 1600 can also be an external device to vehicle 1000, rather than part of vehicle 1000. In one example, maintenance equipment 1600 could be a testing machine, diagnostic tool, or program update tool.
[0024] Figure 2A schematic diagram of integrated devices 1200 and 1300 and their associated buses according to embodiments of the present disclosure is shown. Figure 2 As shown, component 1210 of integrated device 1210 (e.g., the TCU of the main electric drive bridge) is connected to bus 1100, and component 1310 of integrated device 1300 (e.g., the TCU of the slave electric drive bridge) is also connected to bus 1100. In addition to bus 1100, integrated devices 1200 and 1300 may have buses 1250 and 1350 internally, respectively. Bus 1250 is used for communication connections between component 1210 and other components 1220, 1230, and 1240 within integrated device 1200, and bus 1350 is used for communication connections between component 1310 and other components 1320, 1330, and 1340 within integrated device 1300. Furthermore, an inter-device bus 1700 may be provided between integrated device 1200 and integrated device 1300. For example, component 1210 of integrated device 1200 may be directly communication-connected to component 1310 of integrated device 1300 via bus 1700. In one example, buses 1250 and 1350, as well as bus 1700, can be CAN buses. It is understood that while the above description uses vehicle 1000 as an example to illustrate integrated devices 1200 and 1300 and their associated buses, integrated devices 1200 and 1300 and their associated buses can also be applied to other suitable scenarios.
[0025] In embodiments of this disclosure, components 1210 of integrated device 1200 and 1310 of integrated device 1300 may include processors, processing units, or controllers with computing and processing capabilities. For example, components 1210 and 1310 may be TCUs of an electric drive bridge. Thus, by running software or firmware on component 1210 or component 1310, routing functionality can be provided to select and route signals or signaling received from the associated bus for diagnostics and updates, thereby effectively enabling internal component diagnostics and updates for the integrated device. Furthermore, some or all of the other components in integrated devices 1200 and 1300 besides components 1210 and 1310 may also include processors, processing units, or controllers with computing and processing capabilities, enabling the other components to at least process diagnostic signals and program update signals.
[0026] Figure 3 A schematic flowchart of a diagnostic and / or update signal processing procedure 3000 according to an embodiment of the present disclosure is shown. The procedure 3000 can be performed in... Figure 1 and Figure 2This is implemented in a specific scenario. The following description of process 3000 uses the diagnostic and program update operation process of integrated device 1200 as an example. Process 3000 involves maintaining device 1600, component 1210, and other components 1220, 1230, and 1240. However, a similar process can also be used for the diagnostic and program update operation of integrated device 1300. For the purposes of discussion, references will be made to... Figure 1 and 2 To describe process 3000.
[0027] When diagnostics or program updates are required for component 1210 in integrated device 1200, maintenance device 1600 sends a first signal 3001 to component 1210 of integrated device 1200 via bus 1100. This first signal is associated with at least one of the diagnostic and program update operations. As an example, the signal sent by maintenance device 1600 may be a Unified Diagnostic Services (UDS) signal or signaling. The signal may include an identifier (ID) containing information such as the destination address and function of the signal. In some embodiments, the signal may be physical addressing signaling or function addressing signaling. The ID of physical addressing signaling can indicate the physical address of the destination of the signal transmission, thereby enabling one-to-one node-to-node information transmission; that is, physical addressing signaling is sent to a specific node and responded to by that node. The ID of the function addressing signal indicates the function code of the signal, and the function addressing signal can be broadcast in a one-to-many manner. That is, the function addressing signal can be sent to multiple or all nodes on the bus, and multiple or all nodes will respond to the function addressing signal.
[0028] Component 1210 determines whether the first signal 3002 is associated with integrated device 1200 based on the ID of the received first signal. Specifically, the signal may be a diagnostic and update signal for integrated device 1200, or it may be a diagnostic and update signal for integrated device 1300 and unrelated to integrated device 1200. Therefore, component 1200 can determine whether the first signal is associated with integrated device 1200 based on the information in the ID. For example, if the ID of the first signal indicates that the signal is a physical addressing signaling and the bus address in the ID belongs to a component in integrated device 1200, then component 1210 will determine that the signal is associated with integrated device 1200. If the ID of the signal indicates that the signal is a function addressing signaling, then component 1210 can directly determine that the signal is associated with integrated device 1200.
[0029] Component 1210 determines that the received first signal is associated with component 1210 of integrated device 1200, and therefore component 1210 processes the first signal 3003. Subsequently, component 1210 sends the processing result for the first signal back to maintenance device 1600 3004 via bus 1100. For example, the first signal is a program update request signal, so component 1210 can respond and cooperate with maintenance device 1600 to perform subsequent program updates.
[0030] When diagnostics or program updates are required for components in other components 1220, 1230, and 1240 of integrated device 1200, maintenance device 1600 sends a second signal 3005 to component 1210 of integrated device 1200 via bus 1100. Component 1210 determines 3006 whether the second signal is associated with integrated device 1200 based on the ID of the received second signal. Component 1210 determines that the received second signal is associated with one or more of the other components 1220, 1230, and 1240 of integrated device 1200, and therefore forwards the second signal 3007 to the other components 1220, 1230, and 1240 within integrated device 1200 via bus 1250. Subsequently, one or more of the other components 1220, 1230, and 1240 that received the second signal process the component 3008 and send the processing result to component 1210 3009. Component 1210 forwards the processing results of signals received from other components back to maintenance device 1600 via bus 1100. For example, the second signal is a program update request signal, so other components can respond and cooperate with maintenance device 1600 to perform subsequent program updates.
[0031] Although Figure 3 The diagram illustrates how the first signal is processed by component 1210 and the second signal is forwarded by component 1210. However, there are other signals that can be processed by component 1210 and forwarded to other components. For example, when the signal is a function addressing signaling and is sent to all nodes, the signal will not only be received and processed by component 1210, but will also be forwarded to other components 1220, 1230, and 1240.
[0032] When diagnostics or program updates are required for components of another integrated device 1300, maintenance device 1600 sends a third signal 3011 via bus 1100 to components 1210 of integrated device 1200 and 1310 of integrated device 1300. Component 1210 of integrated device 1200 determines, based on the ID of the third signal, whether the third signal 3012 is associated with integrated device 1200. Component 1210 determines that the third signal is not associated with integrated device 1200, and therefore discards the third signal 3013.
[0033] It is understood that while the embodiments of this disclosure describe the interaction between maintenance device 1600 and integration devices 1200 and 1300 for diagnostic and program update operations, this description is merely exemplary and not restrictive. That is, any other suitable device may replace maintenance device 1600 in performing the interaction process described above with the integration devices, as long as it enables the diagnostic and update operations of the integration devices.
[0034] Therefore, component 1210 can be used to intelligently route diagnostic and update signals such as UDS commands. Even if the user cannot directly access the internal components and there are multiple integrated devices (e.g., two integrated devices with a master-slave relationship), the solution of the embodiments of this disclosure can ensure that signals such as UDS commands are accurately routed to the target component of the target integrated device, thereby completing the diagnosis and update of the internal components. In addition, the integrated device can be regarded as a "black box". During operation, the user does not need to understand the internal structure and connection of the integrated device, but only needs to focus on the operation at the common interface. This simplifies the operation process required for the diagnosis and update of the integrated device and reduces the user's maintenance costs.
[0035] Figure 4 Detailed schematic diagrams of components 1210 of integrated device 1200 and components 1310 of integrated device 1300 according to embodiments of the present disclosure are shown. Figure 4As shown, components 1210 of integrated device 1200 and 1310 of integrated device 1300 may each include a status setting unit 1211 and a status setting unit 1311. The status setting unit 1211 determines whether integrated device 1200 and its components 1210, 1220, 1230, and 1240 are in a master device state or a slave device state. Similarly, the status setting unit 1311 determines the master / slave device state of integrated device 1300 and its components 1310, 1320, 1330, and 1340. In some embodiments, the status setting units 1211 and 1311 may include multiple pins, and different states are selected by connecting or not connecting these pins. For example, each of the status setting units 1211 and 1311 may include two pins, and when the two pins are not connected to each other, the corresponding integrated device and its components are selected to be in a master device state, while when the two pins are connected to each other, the corresponding integrated device and its components are selected to be in a slave device state. Figure 4 In this configuration, integrated device 1200 and its component 1210 are configured in a master state, while integrated device 1300 and its component 1310 are configured in a slave state. Components of integrated devices 1200 or 1300 have different bus addresses in the master and slave states. For example, component 1210 of integrated device 1200 in master state may have a bus address of 0x603, while component 1310 of integrated device 1300 in slave state may have a bus address of 0x604. Furthermore, if the master and slave states of integrated devices 1200 and 1300 are interchanged, the bus addresses of components 1210 and 1310 will also be interchanged.
[0036] The integrated device 1200's component 1210 may further include a routing unit 1212, a first processing unit 1213, and a second processing unit 1214. When component 1210 receives a node-to-node signal such as physical addressing signaling, the routing unit 1212 can determine the bus address in the current state based on the master / slave device state selected by the status setting unit 1211, and thereby determine whether the ID of the received signal matches, and perform subsequent processing based on the matching result. Component 1210 may have two or more routing paths for different IDs, and can enable or disable the corresponding routing paths according to the set device state. That is, the master / slave state settings will be mapped to the corresponding routing paths respectively. For example, assuming that component 1210's ID as a master device is 0x603 and its ID as a slave device is 0x604, then when the status setting unit 1211 sets the master device state, the routing unit 1212 can enable the routing path for ID 0x603 and disable the routing path for ID 0x604. Therefore, the signal or signaling with ID 0x603 will be routed to the first processing unit 1213, while the signal or signaling with ID 0x604 will be prevented from being routed to the second processing unit 1214. At the first processing unit 1213, component 1210 will perform corresponding diagnostic or program update operations on the received signal with ID 0x603. Furthermore, if the ID of the received signal belongs to another component in the integrated device 1200, the first processing unit 1213 can forward the corresponding signal to that other component.
[0037] Similarly, component 1310 of integrated device 1300 may include a routing unit 1312, a first processing unit 1313, and a second processing unit 1314. For example, assuming component 1310 has an ID of 0x603 as a master device and an ID of 0x604 as a slave device, when the status setting unit 1314 sets the slave device status, the routing unit 1312 can enable the routing path for ID 0x604 and disable the routing path for ID 0x603. Therefore, the received signal with ID 0x604 will be routed to the second processing unit 1314, while the received signal with ID 0x603 will be prevented from being routed to the first processing unit 1313. At the second processing unit 1314, component 1310 performs corresponding diagnostic or program update operations. Furthermore, if the ID of the received signal belongs to the ID of another component in integrated device 1300, the second processing unit 1314 can forward the corresponding signal to the other component.
[0038] The following is an example code showing how components 1210 and 1310 implement the above routing functionality.
[0039] If (TCU is Master)
[0040] {
[0041] / / disable the Routing Path for ID 0x604
[0042] xxx_PduR_DisableRouting(Group1xxx,x);
[0043] }
[0044] Else
[0045] {
[0046] / / disable the Pdu Routing for ID 0x603
[0047] xxx_PduR_DisableRouting(Group2xxx,x);
[0048] }
[0049] It is understood that modules such as 1212 and 1312 in components 1210 and 1310 can be formed in the form of software and / or firmware, or in the form of a combination of software and / or firmware and circuitry. Furthermore, components 1210 of integrated device 1200 and 1310 of integrated device 1300 may also include other suitable modules as needed.
[0050] In this way, node-to-node signals, such as physical addressing signaling, can be accurately routed to the internal components of the integrated device. Furthermore, by configuring status settings such as pin connection settings, integrated device 1200 and its components, as well as integrated device 1300 and its components, can determine the master / slave device status, and thus determine the corresponding routing or processing path. Therefore, integrated devices 1200 and 1300, such as electric drive axles, can not only be constructed using the same hardware but also run the exact same software, simplifying hardware manufacturing and software development processes. For example, for vehicles with master / slave electric drive axles, only one type of electric drive axle needs to be manufactured and developed, eliminating the need for different software and hardware designs for the master and slave electric drive axles.
[0051] However, in some systems, using the same software to run master-slave integrated devices can present problems when receiving and processing broadcast signals such as function-addressable signaling. Specifically, broadcast signals, such as function-addressable signaling, mean sending a signal to all nodes (e.g., via a CAN bus), and all nodes will respond with their own physical addresses. For example, in... Figure 1In this process, function addressing signals from maintenance device 1600 are sent to ECUs 1400 and 1500, as well as components 1210 and 1310 of integrated devices 1200 and 1300. Components 1210 and 1310 of integrated devices 1200 and 1300 then forward the function addressing signals to other internal components 1220 to 1240 and 1320 to 1340 via internal bus 1250. Upon receiving the function addressing signals, all ECUs and components of the integrated devices reply with their physical addresses or IDs to maintenance device 1600. For example, suppose the physical address or ID of ECU 1400 is 0x601, the physical address or ID of ECU 1500 is 0x602, the physical address or ID of component 1210 of integrated device 1200 in master mode is 0x603, the physical address or ID of component 1310 of integrated device 1300 in slave mode is 0x604, and maintenance device 1600 sends a function addressing signal with function code 0x6FF to all nodes. All components of ECUs 1400 and 1500, as well as integrated devices 1200 and 1300, need to respond to this function addressing signal with function code 0x6FF. ECU 1400 maps the received signal's function code 0x6FF to 0x601 and uses 0x601 to reply to maintenance device 1600. ECU 1500 maps the function code 0x6FF to 0x602 and uses 0x602 to reply to maintenance device 1600. Similarly, integrated devices 1200 and 1300 also need to perform such mapping to determine the ID or physical address used to respond to maintenance device 1600. However, in some systems, according to predetermined rules, the same software can only map one function code to one ID or physical address. Therefore, if integrated device 1200 in master mode and integrated device 1300 in slave mode use the same software, "dual mapping" may not be possible when receiving signals such as function code signaling; that is, the same function code (e.g., 0x6FF) cannot be mapped to two different physical addresses (e.g., 0x603 and 0x604). Due to the inability to achieve "dual mapping," the master and slave integrated devices will encounter problems responding to function addressing signaling. For example, if the device software is predefined to map function code 0x6FF to 0x603, component 1210 of integrated device 1200 in master state can correctly map 0x6FF to 0x603 and use 0x603 to restore the maintenance device. However, integrated device 1300 in slave state (with physical address 0x604) will map incorrectly and fail to restore the maintenance device 1600 correctly. If the device software is predefined to map 0x6FF to 0x604, integrated device 1200 in master state (with correct physical address 0x603) will have the same problem and fail to restore the maintenance device 1600 correctly.
[0052] Figure 5 A schematic diagram of signal transmission of component 1210 of integrated device 1200 and component 1310 of integrated device 1300 according to embodiments of the present disclosure is shown. Figure 5 As shown, upon receiving a broadcast signal such as a function addressing signal, component 1210 of integrated device 1200 can convert the function code of the received signal after determining that it is in master device state. For example, component 1210 can determine its master device state based on the settings of the status setting unit 1211. Subsequently, component 1210 can forward the signal with the converted function code to integrated device 1300, which is in slave device state, via the bus 1700 between integrated devices. For example, component 1210 can convert the original function code 0x6FF of the received signal to 0x6FE and forward the signal with 0x6FE to integrated device 1300.
[0053] On the other hand, after determining that it is in slave mode, integrated device 1300 will discard the signal with the original function code directly from bus 1100, and receive the signal with the converted function code from integrated device 1200 via bus 1700. In other words, integrated device 1300 in slave mode will receive function addressing signals indirectly from bus 1700 through integrated device 1200. For example, component 1310 of integrated device 1300 in slave mode will discard the signal with the original function code 0x6FF transmitted on bus 1100, and receive the signal with the converted function code 0x6FE from component 1210 via bus 1700.
[0054] In this way, the integrated device 1200 in master device state receives a signal with the original function code (e.g., 0x6FF), and the integrated device 1300 in slave device state receives a signal with a converted function code (e.g., 0x6FE). The device software for integrated devices 1200 and 1300 can be predefined to map the original function code and the converted function code to the physical addresses of the master device and the slave device, respectively. For example, the device software can be predefined to map 0x6FF to 0x603 and the function code 0x6FE to 0x604. In this way, the integrated device 1200 in master device state can perform mapping (e.g., mapping 0x6FF to 0x603) upon receiving the signal and respond using the correct address (e.g., 0x603), and the integrated device 1300 in slave device state can perform mapping (e.g., mapping 0x6FE to 0x604) upon receiving the signal and respond using the correct address (e.g., 0x604). Therefore, in software systems where "dual mapping" is not possible, master-slave integrated devices can use the same software to process and respond to functional addressing signaling without having to develop two different software programs.
[0055] Figure 6 A schematic flowchart of a signal processing method 6000 according to an embodiment of the present disclosure is shown. Method 6000 can be performed in... Figure 1 and Figure 2 Implemented in the scenario, and by Figure 1 and Figure 2 The method is performed by component 1210 of integrated device 1200 or component 1310 of integrated device 1300. In some embodiments, integrated devices 1200 and 1300 are electric drive axles, and components 1210 and 1310 are automatic transmission control units (TCUs). The implementation of method 6000 is described below using component 1210 of integrated device 1200 as an example.
[0056] In block 6001, component 1210 receives a signal via bus 1100 that is associated with at least one of diagnostic operations and program update operations.
[0057] At block 6002, component 1210 determines whether a signal is associated with integrated device 1200 based on the identifier of the received signal. In some embodiments, component 1210 determines whether integrated device 1200 is in a master or slave state based on a state setting, wherein multiple components of integrated device 1200 have different bus addresses in the master and slave states. In one embodiment, the state setting includes pin connection settings. In some embodiments, a signal is determined to be associated with integrated device 1200 in response to a signal ID matching a bus address of at least one component of integrated device 1200 in the current device state. In some embodiments, a signal is determined to be associated with integrated device 1200 in response to a signal ID representing a function code.
[0058] In block 6003, in response to determining that a signal is associated with at least one component in integrated device 1200, component 1210 processes the signal, and / or component 1210 forwards the signal to other components within the integrated device 1200 via bus 1250. In some embodiments, component 1210 processes the signal in response to the signal ID matching the bus address of component 1210 in the current state. In some embodiments, the signal is forwarded to other components via bus 1250 in response to the signal ID matching the bus address of other components (e.g., one or more of 1220, 1230, and 1240) in the current state.
[0059] In block 6004, component 1210 transmits the processing results for the signal via bus 1100, and / or component 1210 forwards the processing results for the signal received from other components via bus 1100.
[0060] In some embodiments, method 6000 further includes block 6005. In block 6005, in response to determining that the signal is not associated with integrated device 1200, component 1210 discards the signal.
[0061] In some embodiments, in response to the integrated device 1200 being in a master device state, component 1210 converts the function code of a signal and forwards the signal with the converted function code to another integrated device 1300 being in a slave device state via bus 1700, bus 1700 being connected between integrated device 1200 and another integrated device 1300.
[0062] In some embodiments, in response to the integrated device 1200 being in a slave state, component 1210 discards signals with original function codes directly from bus 1100 and indirectly receives signals with converted function codes from bus 1100 via another integrated device 1300 being in a master state. The converted function codes are obtained by the other integrated device 1300 converting the original function codes of the signals.
[0063] This disclosure may be a method, apparatus, and / or computer program product. A computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for performing various aspects of this disclosure.
[0064] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media can be, for example, (but not limited to) electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination of the foregoing. The computer-readable storage media used herein are not to be construed as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.
[0065] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to the computer-readable storage media in the respective computing / processing device.
[0066] Computer program instructions used to perform the operations of this disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as the "C" language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing the status information of the computer-readable program instructions to implement various aspects of this disclosure.
[0067] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus, and computer program products according to embodiments of this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0068] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0069] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0070] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0071] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or improvement of the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.
Claims
1. A signal processing method, comprising: Signals are received via a first bus, the signals being associated with at least one of diagnostic operations and program update operations; The association between the signal and the integrated device, which includes multiple components, is determined based on the identifier of the signal. In response to determining that the signal is associated with at least one component in the integrated device, the signal is processed and / or the signal is forwarded to other components within the integrated device via a second bus within the integrated device; as well as The processing results for the signal are transmitted via the first bus, and / or the processing results for the signal received from the other components are forwarded via the first bus.
2. The signal processing method according to claim 1, further comprising: In response to determining that the signal is not associated with the integrated device, the signal is discarded.
3. The signal processing method according to claim 1, further comprising: The integrated device is determined to be in master or slave state based on the state setting, and the multiple components of the integrated device have different bus addresses in master and slave states.
4. The signal processing method according to claim 3, wherein the state setting includes pin connection settings.
5. The signal processing method according to claim 3, wherein determining the association between the signal and the integrated device based on the identifier of the signal includes: In response to the identifier matching the bus address of at least one component in the integrated device in the current device state, it is determined that the signal is associated with the integrated device.
6. The signal processing method of claim 5, wherein processing the signal and / or forwarding the signal to other components within the integrated device via a second bus within the integrated device comprises: The signal is processed in response to the identifier matching the bus address of the component receiving the signal in the current state.
7. The signal processing method of claim 5, wherein processing the signal and / or forwarding the signal to other components within the integrated device via a second bus within the integrated device comprises: In response to the identifier matching the bus address of the other component in the current state, the signal is forwarded to the other component via the second bus.
8. The signal processing method according to claim 3, wherein determining the association between the signal and the integrated device based on the identifier of the signal comprises: In response to the identifier representing the function code, it is determined that the signal is associated with the integrated device.
9. The signal processing method according to claim 8, further comprising: In response to the integrated device being in master device state, the function code is converted; as well as The signal with the converted function code is forwarded to another integrated device in slave device state via a third bus, the third bus being connected between the integrated device and the other integrated device.
10. The signal processing method according to claim 3, wherein receiving the signal via the first bus comprises: In response to the integrated device being in slave state, the signal with the original function code directly from the first bus is discarded, and the signal with the converted function code is received indirectly from the first bus by another integrated device being in master state, the converted function code being obtained by the other integrated device converting the original function code of the signal.
11. The signal processing method according to claim 1, wherein the integrated device is an electric drive bridge, and the component receiving the signal is an automatic transmission control unit (TCU).
12. An integrated device, comprising: A plurality of components, wherein one of the plurality of components is configured to perform the signal processing method according to any one of claims 1 to 11.
13. The integrated device of claim 12, wherein the integrated device is an electric drive axle, and one of the plurality of components is an automatic transmission control unit (TCU).
14. A computer program product tangibly stored on a non-volatile computer-readable medium and comprising machine-executable instructions that, when executed, cause a machine to perform the steps of the signal processing method according to any one of claims 1 to 11.