Apparatus and method for simulating a position of a magnetic body
Patent Information
- Application Number
- CN202610419182.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2025-04-02
- Filing Date
- 2026-04-01
- Publication Date
- 2026-10-16
AI Technical Summary
[0030] In this implementation, the control device is designed for safety-critical vehicle functions. By simulating the position of a magnetic object for detection by a position sensor, the control device can be tested together with the position sensor as if it were also installed in the vehicle. This offers significant advantages for safety-critical applications.
Smart Images

Figure CN122920955A_ABST
Abstract
Description
Technical Field
[0001] This application relates to an apparatus and method for simulating the position of a magnetic object for a position sensor. The apparatus can be used to simulate the position of a magnetic object for the position sensor. A test assembly includes the apparatus, a position sensor, and a control device. This test assembly can be used to test the control device, particularly a control device for a vehicle. Background Technology
[0002] dSPACE is known for devices used to simulate motors for control systems. These control systems control or regulate motors or electric motors. Here, such devices can simulate motors or electric motors. This can be particularly used to test control systems in order to examine the control system and its response to different simulated scenarios. Summary of the Invention
[0003] In a device for simulating the position of a magnetic body for a position sensor, the position sensor is configured to determine a sensor value related to the position of the body based on an electromagnetic field. The device includes electrical circuitry configured such that the position sensor generates an electromagnetic field, causing the electrical circuitry to simulate the body at a position detectable by the position sensor.
[0004] Here, a magnetic body with its position is simulated by the magnetic component of the generated electromagnetic field. Specifically, the simulated position corresponds to a position that can be set by the device to be simulated.
[0005] A testing assembly includes such a device, a control unit, and a position sensor. The position sensor is configured to determine a sensor value related to the position of a magnetic body based on an electromagnetic field, particularly based on an electromagnetic field that varies over time. Here, the position sensor is configured to determine a sensor value related to the position of a body simulated by the device based on an electromagnetic field generated by the device, and transmit the sensor value to the control unit.
[0006] In a method for simulating the position of a magnetic body for a position sensor, the position sensor is configured to determine a sensor value related to the position of the body based on an electromagnetic field. The body is simulated at a position detectable by the position sensor using an electromagnetic field. This electromagnetic field is generated by an electrical circuit device for detection by the position sensor.
[0007] This device and method can simulate a magnetic body using electrical circuitry to generate an electromagnetic field, allowing a position sensor to detect the body's position via the detected electromagnetic field. This is advantageous, for example, when the position sensor is connected to a control unit (e.g., the housing of the control unit). There is no need to alter, and in particular, to disconnect, this connection between the control unit and the position sensor to perform, for example, a simulation of an electric motor. The control unit can be tested in conjunction with the simulated motor, where the position sensor and the connection between the control unit and the position sensor can be included in the test. Therefore, the hardware of the control unit (including the position sensor) can be retained and tested as a whole. This is particularly advantageous for safety-critical applications, such as control units for braking and / or vehicle dynamics, like ESP or ABS.
[0008] In this test assembly, a control device, such as one that controls an electric motor, can be tested. The control device then receives (simulated) motor current as feedback and detects the position of a (simulated) magnetic body via a position sensor. The magnetic body can, for example, represent the rotor of the electric motor. The magnetic body is simulated by the device in its position. In the simulated rotor, this position corresponds, for example, to a rotation angle.
[0009] When no changes to the control unit are required, mechanical calibration is unnecessary when replacing different control units within a test assembly. This simplifies control unit replacement and makes the overall testing more efficient and faster.
[0010] The magnetic material, such as a permanent magnet, is fixedly arranged on the rotor of an electric motor or generator so that the rotor's position can be detected by the electromagnetic field emitted by the magnetic material. The detected rotor position is advantageous for controlling the motor or generator because feedback can be sent to the control device based on this position. This characteristic of the magnetic material is simulated by an electromagnetic field generated by an electrical circuit device. The magnetic material can also be called a position sensor because its position can be determined by the electromagnetic field, and thus, for example, the position of the rotor.
[0011] A position sensor is a sensor that detects electromagnetic fields and converts them into electrical signals, outputting these signals as sensor values. These signals can be detected or received by a control device, for example, and used to generate one or more control signals. The signals can be transmitted to the control device via point-to-point connections, bus connections, or as wireless signals. The signals can be transmitted digitally or analogally.
[0012] For example, the sensor value, which is an electrical signal output by the position sensor, is related to the simulated position of the body relative to the position sensor.
[0013] This testing component can be used in particular to inspect control devices (e.g., vehicle control devices) in a simulated environment under different operating conditions. For example, this can be achieved without conducting test drives. Therefore, this testing component can simulate a variety of real-world scenarios to examine the hardware and / or software functionality of the control device. In particular, the equipment and methods for simulating the position of a magnetic object allow for the simulation of a magnetic object used to detect the position of components in the environment surrounding the control device, such as the rotor of an electric motor. The magnetic object can be simulated by its precise position and can present a magnetic field to a position sensor that closely matches the magnetic field of a real magnetic object.
[0014] In one embodiment of the device, the circuitry is configured to simulate the motion of the body. Thus, the motion of the body can be simulated by generating an electromagnetic field. The simulated motion may, in particular, include motion as seen in an electric motor.
[0015] In one embodiment, the motion has lateral motion (linear motion), and the body has a lateral (linear) position sensor. If simulating a linear motor, the simulated motion of the body can be linear motion (lateral motion), such as that performed by a position sensor mounted on the rotor of a linear motor.
[0016] In one embodiment, the motion has a rotational motion, and the body has a rotary encoder. Thus, the motion of the body can be simulated by a generated electromagnetic field. The simulated rotational motion can, for example, occur in an electric motor having a stator and a rotor. Here, the magnetic body can be a rotary encoder arranged on the rotor performing the rotational motion. The rotary encoder has magnets, wherein the magnets can, for example, have one or more permanent magnets. The rotational motion is a periodic motion, which can be simulated, for example, by a sinusoidally varying magnetic field.
[0017] According to another aspect of this application, the circuit device is configured to simulate a position based on a set value. The set value may, for example, take into account changes in the position of a magnetic body, interference fields, or other factors. Therefore, checking such effects is particularly simple. The set value can specifically be used to set the position to be simulated. Thus, the simulated position can specifically correspond to the position set by the device as the position to be simulated through the set value.
[0018] In one embodiment, the circuit device has at least one coil (particularly with a ferrite core) for generating an electromagnetic field. The ferrite is made of one or more ferromagnetic materials. The ferromagnetic material can be ceramic or metallic. The advantage of generating an electromagnetic field using one or more coils is that the electromagnetic field can be influenced by the current flowing through the coil (i.e., the so-called magnetizing current).
[0019] In one embodiment of the circuit arrangement, the at least one coil is constructed and arranged to generate one directional component of the electromagnetic field. In this embodiment, the circuit arrangement preferably includes other coils that generate other directional components. By superimposing the individual electromagnetic fields, a desired composite electromagnetic field can be generated, which is detected by a position sensor.
[0020] In particular, at least two coils can be provided, which can be energized in opposite directions. Thus, to simulate the position of the body, for example, two directional components of an electromagnetic field can be simulated, which change in the same form but in opposite directions. To simulate a rotating body, for example, a sinusoidal current and a correspondingly opposite cosine current can be selected.
[0021] The two coils can be arranged and constructed in space at a 90° angle to each other, generating two mutually perpendicular directional components of the electromagnetic field. Of course, it is also conceivable that the at least two coils are arranged at other angles to each other. More than two coils can also be used.
[0022] In one embodiment, the circuit device has one or more coil pairs. Here, the coils of the respective coil pairs are arranged opposite each other, for example. The at least one coil pair is constructed and arranged to generate a directional component of the electromagnetic field. By using a respective coil pair, rather than just a single coil, to generate a corresponding directional component of the electromagnetic field, the quality of the generated magnetic field can be further improved.
[0023] For example, if two coil pairs are set up, these two coil pairs can be arranged at a 90° angle to each other, generating two directional components of the electromagnetic field that are arranged at a 90° angle to each other. For example, if four coil pairs are set up, these four coil pairs can be arranged at a 45° angle to each other, generating four directional components of the electromagnetic field that are arranged at a 45° angle to each other. Of course, other numbers of coil pairs can also be imagined, which can be arranged at other possible angles to each other.
[0024] In one embodiment of the circuit device, two ferrites rotated 90° relative to each other are provided as coil cores, with at least one coil arranged at each end of the core. The ferrites can be constructed, in particular, in a rod shape. A position sensor is specifically disposed between the coils. For example, a coil can be arranged at each end of a corresponding ferrite. Alternatively, a coil can be arranged at each end of a corresponding ferrite.
[0025] In the implementation of the circuit device, the ferrites are either C-shaped or U-shaped. That is, the ferrites are constructed in the shapes of these letters. Position sensors are particularly disposed between the coils. This further improves the quality of the generated magnetic field.
[0026] In one embodiment, the circuit device has another coil that is constructed and arranged to generate another directional component of the electromagnetic field. Thus, for example, an interference component against the electromagnetic field can also be generated.
[0027] In one embodiment, the device includes a computing unit in which an electric motor can be simulated. The simulated position of the body corresponds to the position of the motor's rotary encoder, and a set value for that position can be generated by the motor simulation in the computing unit. The set value can be output to and received by a circuit device. The computing unit may have a processor and memory for performing the simulation. The computing unit may also have an input / output interface for inputting and outputting data.
[0028] In implementations, the position sensor is configured as an AMR sensor, a GMR sensor, a TMR sensor, a rotary transformer, or a Hall sensor.
[0029] Anisotropic magnetoresistive (AMR) sensors utilize the anisotropic magnetoresistive effect. Giant magnetoresistive (GMR) sensors utilize giant magnetoresistive (GM) effects. Transmission transformer (TMR) sensors utilize magnetic tunneling resistance. A rotary transformer sensor is an electromagnetic measurement transducer that converts the angular position of a rotor into an electrical quantity. Here, the rotor is surrounded by two stator windings arranged at a 90° angle. The angular position of the rotor is determined by the signals on the two stator windings. Hall effect sensors measure magnetic fields using the Hall effect.
[0030] In this implementation, the control device is designed for safety-critical vehicle functions. By simulating the position of a magnetic object for detection by a position sensor, the control device can be tested together with the position sensor as if it were also installed in the vehicle. This offers significant advantages for safety-critical applications. Attached Figure Description
[0031] Embodiments of the present invention are shown in the accompanying drawings and described in detail below. Wherein:
[0032] Figure 1 A block diagram of the test components is shown.
[0033] Figure 2 A schematic diagram of a rotary encoder together with a position sensor is shown.
[0034] Figure 3 A schematic diagram of one embodiment of the circuit device is shown.
[0035] Figure 4 A schematic diagram of a U-shaped ferrite with a coil is shown.
[0036] Figure 5 A schematic diagram of another embodiment of the circuit device is shown.
[0037] Figure 6 A schematic diagram of a C-shaped ferrite with a coil is shown.
[0038] Figure 7 A schematic diagram of another embodiment of the circuit device is shown.
[0039] Figure 8 A schematic diagram of one implementation of the test component is shown, and
[0040] Figure 9 A flowchart of the method is shown.
[0041] In the accompanying drawings, the same reference numerals are used for the same or similar elements. The illustrations in the accompanying drawings may not be drawn to scale. Detailed Implementation
[0042] Figure 1 The test assembly 50 is shown in block diagram. The test assembly 50 has a device 10 for simulating the position of a magnetic object. The device 10 has a computing unit 14 and a circuit arrangement 12. The test assembly 50 also has a control device 30 to be tested, which is connected to a position sensor 20.
[0043] The calculation unit 14 simulates a motor or electric motor. The calculation unit 14 transmits the motor current MS of the simulated motor or simulated electric motor to the control device 30, which should be tested, for example, in the context of its interaction with the equipment.
[0044] The motor current MS is used by the control device 30 to control the motor or electric motor. For this purpose, a control signal is transmitted from the control device 30 to the device 10 and thus to the computing unit 14. Figure 1 For clarity, these control signals and their transmission paths are not shown. When using the received control signal for the motor current MS, the calculation unit 14 simulates a motor or electric motor, and as a result of the simulation, outputs the motor current MS to the control device 30. Therefore, the motor current MS output to the control device corresponds to the motor current MS that would be generated by the motor or electric motor being simulated. Thus, control via the control device 30 can be achieved and can be tested using the test assembly 50.
[0045] Furthermore, the computing unit 14 of device 10 outputs a setpoint VG to the circuit device 12, which communicates to the circuit device 12 what kind of electromagnetic field EM should be generated. The circuit device 12 is configured to generate the electromagnetic field EM within a predetermined frequency range with a predetermined amplitude and direction.
[0046] The position of a simulated magnetic body, such as a rotary encoder with permanent magnets on a rotor, is simulated using an electromagnetic field EM. The calculation unit 14 determines the correct position of the simulated body using a setpoint VG. Furthermore, the setpoint VG can be used to provide a disturbance amount for the electromagnetic field EM to check, for example, the robustness of signal processing and control performed by the control device 30.
[0047] The position sensor 20 receives the electromagnetic field EM and converts it into an electrical signal, which is a sensor value SW. The sensor value SW is transmitted to a control device 30 in digital or analog form, influencing the control of a simulated electric motor or a simulated electric motor. Specifically, the control device 30 identifies the state of the electric motor through the motor current MS and the sensor value SW. Then, according to further specifications for the electric motor (not shown), it performs control (not shown) on the simulated electric motor. The (not shown) adjustment by the control device 30 can be transmitted, for example, as an electrical signal to a calculation unit 14. The calculation unit 14 then re-determines the motor current MS and the setpoint VG based on the control. These values can be obtained, for example, through characteristic curves stored in the calculation unit 14 and / or using a software model.
[0048] Position sensor 20 is connected to control device 30 and can detect the simulated position of the magnetic body via electromagnetic field EM. Control device 30 and position sensor 20 connected to it can be easily replaced. In particular, the test assembly can be configured such that mechanical calibration is not required when replacing control device 30 and position sensor 20.
[0049] Figure 2 One embodiment of the position sensor 20 and one embodiment of the magnetic body are schematically shown. The position sensor is constructed as a chip. The magnetic body is constructed as a rotary encoder 40. The rotary encoder 40 is arranged above the position sensor 20. The rotary encoder 40 is constructed as a permanent magnet having two poles: a north pole (N) and a south pole (S). The rotary encoder 40 may have more than one permanent magnet.
[0050] The position sensor 20 is disposed in a chip housing having corresponding pins as external interfaces. Furthermore, these pins are used to attach to a substrate having wires, which are implemented, for example, printed ground or via metal wires, such as via bonding wires.
[0051] If the rotary encoder 40 is coupled to a rotating element, such as the rotor of an electric motor, then the rotary encoder 40 is placed in rotational motion 42. Figure 2 In the example shown, this rotational motion 42 is performed counterclockwise. The rotational motion 42 can be detected by the position sensor 20 based on the electromagnetic field EM emitted by the rotary encoder 40 during its motion.
[0052] Figure 3 An embodiment of the circuit device 12 is schematically shown. A first coil pair, SP1, SP2, is arranged at a 90° angle offset from a second coil pair, SP3, SP4. The coils of the respective coil pairs are arranged opposite each other with their openings facing each other. The coils of the respective coil pairs are spaced a certain distance from each other. Coils SP1, SP2, SP3, SP4 are arranged around a position sensor 20. The distance between the coils of the respective coil pairs is preferably adapted to the size of the position sensor 20 and is configured to accommodate the position sensor 20. By using coil pairs with opposing coils, the field strength of the electromagnetic field EM thus generated can be increased, and the influence of interference fields can be reduced.
[0053] exist Figure 3 In the illustrated embodiment, the first coil pair SP1, SP2 is energized in the opposite direction to the second coil pair SP3, SP4. The coils of the corresponding coil pairs are energized in the same direction. By energizing, for example, sine and cosine wave signals, a field distribution can be generated, as is the field distribution generated, for example, by the permanent magnet of the rotary encoder 40.
[0054] Alternatively, the coils can be arranged perpendicular to the drawing plane. Then, the coils of a coil pair extend parallel to each other, with their openings pointing in the same direction. An arrangement perpendicular to the drawing plane can involve one or two coil pairs.
[0055] In a variation of the illustrated embodiment, optionally, only one coil of a coil pair may be energized, i.e., for example, SP1 and SP3 or SP2 and SP4. Alternatively, only the respective coils may be provided instead of the coil pairs, i.e., only SP1 and SP3 or SP2 and SP4. The coils may also be arranged perpendicular to the drawing plane. The coils then extend parallel to each other, with their openings pointing in the same direction. The arrangement involves one or more of the coils.
[0056] Figure 4 The first ferrite F1 of the U-shaped FEU is schematically shown. The first ferrite F1 has coils SP1 and SP2 at the respective ends of the U. For example, the first ferrite F1 can be made of ceramic. The coils SP1 and SP2 can be configured as windings around the ends of the U of the first ferrite F1. An electromagnetic field EM generated by means of the coils SP1 and SP2 can be focused through the first ferrite F1.
[0057] Figure 5 Another schematic diagram shows, from below, a configuration with... Figure 4 The circuit device 12 of the first ferrite F1. A second U-shaped ferrite F2 is arranged inside the U of the first ferrite F1.
[0058] The second ferrite F2 has coils SP3 and SP4 at the corresponding ends of U. For example, the second ferrite F2 can be made of the same material as the first ferrite F1. Coils SP3 and SP4 can be configured as windings around the ends of U of the second ferrite F2. The electromagnetic field EM generated by the coils SP3 and SP4 can be focused through the second ferrite F2.
[0059] Coils SP1 and SP2 are connected to each other via a first ferrite core F1, generating a directional component of the electromagnetic field EM. Coils SP3 and SP4 are connected to each other via a second ferrite core F2, generating a second directional component of the electromagnetic field EM. The U-shape reduces potential stray fields. Ferrites F1 and F2 are stacked on top of each other and twisted at a right angle relative to each other.
[0060] In this circuit device, the position sensor 20 is preferably arranged between coils SP1, SP2, SP3, and SP4.
[0061] Figure 6 A schematic diagram of the third ferrite F3 of the C-shaped FEC is shown. The third ferrite F3 is constructed as the ferrite of the C-shaped FEC. Facing the air gap, where the ends of the C-shaped FEC are opposite each other and the position sensor 20 is located in the air gap, coils SP1 and SP2 are arranged on the respective ends of the C-shaped FEC. In the air gap, an electromagnetic field EM is generated by the coils SP1 and SP2 and the third ferrite F3 and is detected by the position sensor 20.
[0062] Figure 7 Another schematic illustration of the circuit device 12 is shown. The circuit device 12 has Figure 6 The third ferrite F3 and the fourth ferrite F4 are used. At the opposite ends of the third ferrite F3, coils SP1 and SP2 are arranged opposite each other.
[0063] The fourth ferrite F4 is also constructed as a C-shaped FEC ferrite, and has coils SP3 and SP4 arranged opposite each other at its opposite ends. This air gap defined by the opposite ends of the fourth ferrite F4 restricts the air gap of the third ferrite F3 on both sides. A position sensor 20 is arranged in this air gap. In this air gap, the electromagnetic fields EM generated by coils SP1, SP2, SP3, and SP4 are superimposed. The synthesized superimposed field can be detected by the position sensor 20.
[0064] Figure 8 It shows having Figure 6 or Figure 7 A schematic illustration of one embodiment of the test assembly 50 for the third ferrite F3 of the C-shaped FEC. Coils SP1 and SP2 are arranged opposite each other via an air gap at opposite ends of the third ferrite, wherein an electromagnetic field EM is generated in the air gap. Optionally, Figure 8 The test components may also additionally have a fourth ferrite F4 with coils SP3 and SP4.
[0065] Position sensor 20 is arranged on control device 30, for example, on the housing of control device 30, at the edge of the air gap. That is, position sensor 20 can detect electromagnetic field EM. In the current embodiment, another coil wSP is also provided. The other coil is constructed and configured to generate another directional component of electromagnetic field EM. Thus, for example, interference of electromagnetic field EM can be simulated or electromagnetic field can be simulated in another dimension. Coil wSP—for example, it can optionally also be wound around ferrite—is also controlled by calculation unit 14, for example, via a set value VG.
[0066] Figure 9 A flowchart illustrates a method for simulating the position of a magnetic object used in position sensor 20.
[0067] In method step 90, a setpoint VG is generated by the calculation unit 14. This setpoint can be obtained, for example, from a simulation of an electric motor running on the calculation unit 14.
[0068] In method step 92, an electromagnetic field EM is generated by the circuit device 12. The generation is influenced by a set value VG received from the calculation unit 14.
[0069] In method step 94, position sensor 20 detects an electromagnetic field EM. This detection can be performed in multiple dimensions and is related to the configuration of position sensor 20. Based on the detected electromagnetic field EM, position sensor 20 generates a sensor value SW. This sensor value SW can be constructed digitally or analogously. The sensor value SW is transmitted to control device 30.
[0070] In method step 96, the control device 30 determines the simulated position of the magnetic body at the motor, i.e., a permanent magnet fixed to the rotor as a rotary encoder, based on the received sensor value SW. From this, and from other values, such as the motor current MS, the control device 30 determines how the motor should be controlled. This control is transmitted as a signal to the device 10 and thereby to the computing unit 14, which then determines, as necessary, a new motor current MS and a new setpoint VG from other values, such as input values and other sensor values.
[0071] List of reference numerals
[0072] 10 Equipment
[0073] 12. Circuit devices
[0074] 14 Calculation Units
[0075] 20 position sensors
[0076] 30 Control device
[0077] 40 Rotary Encoder
[0078] 42 Rotational motion
[0079] 50 test components
[0080] MS motor current
[0081] SW sensor value
[0082] EM electromagnetic field
[0083] VG settings
[0084] SP1, SP2, SP3, SP4 coils
[0085] wSP another coil
[0086] F1, F2, F3, F4 Ferrites
[0087] FEU U-shaped ferrite
[0088] FEC C-shaped ferrite
[0089] 90. The set value is determined by the calculation unit.
[0090] 92. Generating an electromagnetic field through a circuit device
[0091] 94. Determining sensor values using position sensors
[0092] 96. Determine the location via control device.
Claims
1. A device (10) for simulating the position of a magnetic body for a position sensor (20), wherein, The position sensor (20) is configured to determine a sensor value (SW) related to the position of the body based on an electromagnetic field (EM), wherein the device (10) has an electrical circuit (12) configured to generate an electromagnetic field (EM) for the position sensor (20) such that the electromagnetic field simulates the body at a position detectable by the position sensor (20).
2. The device according to claim 1, wherein, The circuit device (12) is configured to simulate the movement of the body.
3. The device according to claim 2, wherein, The motion has rotational motion (42) and the body has a rotary encoder (40), and / or the motion has lateral motion and the body has a lateral position sensor.
4. The device according to any one of the preceding claims, wherein, The circuit device (12) is configured to simulate the position according to a set value (VG).
5. The device according to any one of the preceding claims, wherein, The circuit device (12) has at least one coil (SP1, SP2, SP3, SP4) for generating an electromagnetic field (EM), wherein the at least one coil has ferrite (F1, F2) as a core.
6. The device according to claim 5, wherein, The at least one coil (SP1, SP2, SP3, SP4) is constructed and arranged to generate a directional component of an electromagnetic field (EM).
7. The device according to claim 5 or 6, wherein, It is provided with at least two coils (SP1, SP2, SP3, SP4), and the at least two coils are particularly capable of being energized in reverse.
8. The device according to any one of claims 5 to 7, wherein, The at least two coils (SP1, SP2, SP3, SP4) are constructed at a 90° angle to each other and arranged to generate two mutually perpendicular directional components of the electromagnetic field (EM).
9. The device according to any one of the preceding claims, wherein, The circuit device (12) has at least one pair of coils (SP1, SP2, SP3, SP4) arranged opposite each other, and the at least one pair of coils is configured and arranged to generate a directional component of an electromagnetic field (EM).
10. The device according to any one of claims 7 to 9, wherein, Two ferrites (F1, F2) are rotated 90° relative to each other. At least one coil (SP1, SP2, SP3, SP4) is arranged on the ends of the two ferrites respectively. The position sensor (20) is arranged between each coil (SP1, SP2, SP3, SP4).
11. The device according to claim 10, wherein, The ferrites (F1, F2) are respectively C-shaped (FEC) or respectively U-shaped (FEU).
12. The device according to any one of claims 5 to 11, wherein, Another coil (wSP) is provided, which is constructed and arranged to generate another directional component of the electromagnetic field (EM).
13. The device according to any one of the preceding claims further comprises a computing unit (14) capable of simulating an electric motor, wherein, The position of the body corresponds to the position of the rotary encoder (40) of the motor, and the set value (VG) for the position can be generated by the simulation of the motor and output to the circuit device (12).
14. A test assembly (50) comprising a device (10), a control device (30), and a position sensor (20) according to any one of the preceding claims, wherein, The position sensor (20) is configured to determine, in particular, a sensor value (SW) related to the position of the magnetic body based on an electromagnetic field (EM), particularly based on an electromagnetic field (EM) that varies over time. The position sensor (40) is configured to determine, based on an electromagnetic field (EM) generated by the device, a sensor value (SW) related to the position of the body simulated by the device (10), and transmit the sensor value (SW) to the control device (30).
15. The test component according to claim 14, wherein, The position sensor (20) is configured as an AMR, GMR, TMR, Resolver, or Hall sensor, and / or the control device (30) is configured for a safety-critical vehicle function.
16. A method for simulating the position of a magnetic body for a position sensor (20), wherein, The position sensor (20) is configured to determine a sensor value (SW) related to the position of the body based on an electromagnetic field (EM), wherein the method comprises: The body is simulated at a location detectable by the position sensor (20) by means of an electromagnetic field (EM), wherein the electromagnetic field (EM) is generated by an electrical circuit device (12) for detection by the position sensor (20).